diff options
Diffstat (limited to 'spec/quality_spec.rb')
-rw-r--r-- | spec/quality_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/quality_spec.rb b/spec/quality_spec.rb index b84e5436..d1368445 100644 --- a/spec/quality_spec.rb +++ b/spec/quality_spec.rb @@ -43,9 +43,7 @@ describe "The library itself" do end RSpec::Matchers.define :be_well_formed do - match do |actual| - actual.empty? - end + match(&:empty?) failure_message do |actual| actual.join("\n") |