Skip to content

Commit c1dd782

Browse files
committed
weird issue running rspec in 1.8.7
1 parent 6301937 commit c1dd782

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

spec/enumify/enum_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ class ModelAllowingNil < ActiveRecord::Base
114114
it "should always return the enums value as a symbol" do
115115
expect {
116116
@obj.status = "canceled"
117-
}.to change{@obj.status}
118-
.from(:available)
119-
.to(:canceled)
117+
}.to change{
118+
@obj.status
119+
}.from(:available).to(:canceled)
120120
end
121121

122122
end

0 commit comments

Comments
 (0)