spec/rfc2445_spec.rb in jruby-rfc2445-0.6.1 vs spec/rfc2445_spec.rb in jruby-rfc2445-0.6.2
- old
+ new
@@ -70,10 +70,10 @@
jtime.hour.should == now.hour
jtime.min.should == now.min
end
it "should return a Ruby time object" do
- now = Time.now
+ now = Time.now.utc
time = JTime.new
rtime = time.to_time
rtime.should be_instance_of(Time)
rtime.year.should == now.year
rtime.month.should == now.month
\ No newline at end of file