Remove empty strings (#5732)
This commit is contained in:
parent
3e90987c8b
commit
9dd5e329ab
13 changed files with 48 additions and 48 deletions
|
@ -9,7 +9,7 @@ RSpec::Matchers.define :model_have_error_on_field do |expected|
|
|||
|
||||
failure_message do |record|
|
||||
keys = record.errors.keys
|
||||
|
||||
|
||||
"expect record.errors(#{keys}) to include #{expected}"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue