aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/spec/support
diff options
context:
space:
mode:
authorMarkus Reiter2016-08-27 11:52:14 +0200
committerMarkus Reiter2016-08-27 11:56:52 +0200
commitda2ad32a8d0c679576d62d47fea55479e66c330b (patch)
tree57148a58f96f6eb362074896b9bf7d848cbde995 /Library/Homebrew/cask/spec/support
parentf4fb655aaa907e8ec642469ae21ca03e6cef2e21 (diff)
downloadbrew-da2ad32a8d0c679576d62d47fea55479e66c330b.tar.bz2
Don’t use `should` syntax in rspec.
Diffstat (limited to 'Library/Homebrew/cask/spec/support')
-rw-r--r--Library/Homebrew/cask/spec/support/expectations_hash_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/spec/support/expectations_hash_helper.rb b/Library/Homebrew/cask/spec/support/expectations_hash_helper.rb
index 8d386767d..726b1d053 100644
--- a/Library/Homebrew/cask/spec/support/expectations_hash_helper.rb
+++ b/Library/Homebrew/cask/spec/support/expectations_hash_helper.rb
@@ -3,7 +3,7 @@ module ExpectationsHashHelper
expectations.each do |input_value, expected_output|
context "when #{input_name} is #{input_value.inspect}" do
let(input_name.to_sym) { input_value }
- it { should == expected_output }
+ it { is_expected.to eq expected_output }
end
end
end