diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2014-03-30 10:39:11 +0530 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2014-03-31 10:49:25 +0800 |
commit | 178ecf7b2cb13d3a88cfe171514fd6ed68ff6ca0 (patch) | |
tree | 37674af7313a72354e3dbac2a03561d95a463735 | |
parent | 5567b3c2bf320bf5ce86a103ded8035804fe7a6d (diff) | |
download | bundler-178ecf7b2cb13d3a88cfe171514fd6ed68ff6ca0.tar.gz |
Remove deprecation warning caused by use of failure_message_for_should
- RSpec has replaced failure_message_for_should with failure_message in
https://github.com/rspec/rspec-expectations/commit/bfe92020d5569350c1382235feb9b113907fa2db
- This change removes deprecation warning caused by https://github.com/rspec/rspec-expectations/commit/cd0d347d3115f8aad801e6dc8fe2a311d75626bd#diff-a51020971ade2c87f1d5b93f20d711c7R207
-rw-r--r-- | spec/quality_spec.rb | 2 |
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 |