Skip to content

Commit b94b058

Browse files
authored
Merge pull request #2669 from rspec/fix-rails-edge-failure
Fix a spec on Rails edge
2 parents 4a1d800 + f7ec401 commit b94b058

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/rspec/rails/matchers/be_valid_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def errors(_)
4040
it "includes the error messages in the failure message" do
4141
expect {
4242
expect(post).to be_valid
43-
}.to raise_exception(/Title can't be blank/)
43+
}.to raise_exception(/Title can.t be blank/)
4444
end
4545

4646
it "includes the error messages for simple implementations of error messages" do

0 commit comments

Comments
 (0)