Skip to content

Commit f5b1873

Browse files
committed
Fix specs for Time#-
This has been proposed upstream as ruby/spec#1262
1 parent 2788049 commit f5b1873

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

spec/core/time/minus_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113

114114
it "does not return a subclass instance" do
115115
c = Class.new(Time)
116-
x = c.now + 1
116+
x = c.now - 1
117117
x.should be_an_instance_of(Time)
118118
end
119119

0 commit comments

Comments
 (0)