diff --git a/spec/shared/mutator_behavior.rb b/spec/shared/mutator_behavior.rb index 65eef1ca..796af68a 100644 --- a/spec/shared/mutator_behavior.rb +++ b/spec/shared/mutator_behavior.rb @@ -82,7 +82,7 @@ shared_examples_for 'a mutator' do message.concat(unexpected) end - fail message.join("\n-----\n") if messages.any? + fail message.join("\n-----\n") if message.any? end end end