summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Kottler <shk@linux.com>2014-03-30 14:41:10 +0600
committerSam Kottler <shk@linux.com>2014-03-30 14:41:10 +0600
commit9ebdaaed2922cb29638efa1755c9cb1e03bdaa06 (patch)
tree37674af7313a72354e3dbac2a03561d95a463735
parent5567b3c2bf320bf5ce86a103ded8035804fe7a6d (diff)
parent280e2d79f5f01431b421518fe606cf542b34bf81 (diff)
downloadbundler-9ebdaaed2922cb29638efa1755c9cb1e03bdaa06.tar.gz
Merge pull request #2953 from prathamesh-sonpatki/remove-deprecatio-warning
Remove deprecation warning caused by use of failure_message_for_should
-rw-r--r--spec/quality_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/quality_spec.rb b/spec/quality_spec.rb
index ca3dfc18a5..345fe467ec 100644
--- a/spec/quality_spec.rb
+++ b/spec/quality_spec.rb
@@ -42,7 +42,7 @@ describe "The library itself" do
end
RSpec::Matchers.define :be_well_formed do
- failure_message_for_should do |actual|
+ failure_message do |actual|
actual.join("\n")
end