mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-26 10:11:37 +01:00
parent
b7cf11d5a9
commit
91cc8d1e63
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ RSpec::Matchers.define :model_have_error_on_field do |expected|
|
|||
end
|
||||
|
||||
failure_message do |record|
|
||||
keys = record.errors.keys
|
||||
keys = record.errors.attribute_names
|
||||
|
||||
"expect record.errors(#{keys}) to include #{expected}"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue