You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add this to spec/models/post_spec.rb and it will fail:
describe Post do
describe "Reloading a record" do
....
context "while locking" do
it "does not throw an error" do
expect(lambda { subject.lock! }).to_not raise_error
end
end
I have a PR #54 that fixes this but also wanted to leave the issue here formally.
The text was updated successfully, but these errors were encountered:
Add this to
spec/models/post_spec.rb
and it will fail:I have a PR #54 that fixes this but also wanted to leave the issue here formally.
The text was updated successfully, but these errors were encountered: