Skip to content

Commit

Permalink
Fix expect -> should deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Sep 6, 2012
1 parent 5a15029 commit 17586e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/mongoid/persistence_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -675,8 +675,8 @@
end

it "raises an error with multiple save attempts" do
expect { subject.save! }.should raise_error
expect { subject.save! }.should raise_error
expect { subject.save! }.to raise_error
expect { subject.save! }.to raise_error
end
end

Expand Down

0 comments on commit 17586e9

Please sign in to comment.