Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
fix mastodon#17601 change :keys to :attribute_names (mastodon#17637)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kawsay authored Feb 24, 2022
1 parent b7cf11d commit 91cc8d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/matchers/model/model_have_error_on_field.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
end

failure_message do |record|
keys = record.errors.keys
keys = record.errors.attribute_names

"expect record.errors(#{keys}) to include #{expected}"
end
Expand Down

0 comments on commit 91cc8d1

Please sign in to comment.