diff options
author | ysksn <bluewhale1982@gmail.com> | 2017-11-17 10:52:30 +0900 |
---|---|---|
committer | Yamagishi Kazutoshi <ykzts@desire.sh> | 2017-11-17 10:52:30 +0900 |
commit | 9dd5e329ab5edab705c5622bc97f93bd5c50976b (patch) | |
tree | 4b84681131e58107ffeebac9412f7577f93fbaf1 /spec/support | |
parent | 3e90987c8b0c620b6fc104350b8eb16d17d7e80a (diff) |
Remove empty strings (#5732)
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/matchers/model/model_have_error_on_field.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/matchers/model/model_have_error_on_field.rb b/spec/support/matchers/model/model_have_error_on_field.rb index 5d5fe1c7b..a5dfbf457 100644 --- a/spec/support/matchers/model/model_have_error_on_field.rb +++ b/spec/support/matchers/model/model_have_error_on_field.rb @@ -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 |