Files
RubyMotion/test/TestTime/spec/rubyspec/sec_spec.rb

9 lines
245 B
Ruby

# require File.expand_path('../../../spec_helper', __FILE__)
# require File.expand_path('../fixtures/methods', __FILE__)
describe "Time#sec" do
it "returns the second of the minute(0..60) for time" do
Time.at(0).sec.should == 0
end
end