diff options
| author | Markus Reiter | 2016-08-27 11:52:14 +0200 |
|---|---|---|
| committer | Markus Reiter | 2016-08-27 11:56:52 +0200 |
| commit | da2ad32a8d0c679576d62d47fea55479e66c330b (patch) | |
| tree | 57148a58f96f6eb362074896b9bf7d848cbde995 /Library/Homebrew/cask/spec/support | |
| parent | f4fb655aaa907e8ec642469ae21ca03e6cef2e21 (diff) | |
| download | brew-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.rb | 2 |
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 |
