Skip to content

Commit 82cdb5d

Browse files
herwinwandrykonchin
authored andcommitted
Fix "does not return a subclass instance" test for Time#-
This looks like a copy-pase from Time#+
1 parent 111cee4 commit 82cdb5d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/time/minus_spec.rb

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

110110
it "does not return a subclass instance" do
111111
c = Class.new(Time)
112-
x = c.now + 1
112+
x = c.now - 1
113113
x.should be_an_instance_of(Time)
114114
end
115115

0 commit comments

Comments
 (0)