diff options
| author | Markus Reiter | 2017-05-18 09:39:07 +0200 |
|---|---|---|
| committer | GitHub | 2017-05-18 09:39:07 +0200 |
| commit | f0dc1d96c50551be69ea418148a9bc2d72cfaf16 (patch) | |
| tree | c94a8385e4832016644205b2f92d4bc1621931b4 /Library/Homebrew/test/support | |
| parent | 2b726383f1712e5a34627b4db9bed8b7b81973b2 (diff) | |
| parent | 5828eefd01cd61d2a7fbf439620b21f6f5b3d1b1 (diff) | |
| download | brew-f0dc1d96c50551be69ea418148a9bc2d72cfaf16.tar.bz2 | |
Merge pull request #2537 from reitermarkus/pathname-to_str
Remove `to_s` from some `Pathname`s.
Diffstat (limited to 'Library/Homebrew/test/support')
| -rw-r--r-- | Library/Homebrew/test/support/helper/spec/shared_examples/hbc_staged.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/support/helper/spec/shared_examples/hbc_staged.rb b/Library/Homebrew/test/support/helper/spec/shared_examples/hbc_staged.rb index 31083ee58..1364c13a3 100644 --- a/Library/Homebrew/test/support/helper/spec/shared_examples/hbc_staged.rb +++ b/Library/Homebrew/test/support/helper/spec/shared_examples/hbc_staged.rb @@ -24,7 +24,7 @@ shared_examples Hbc::Staged do end it "can get the Info.plist file for the primary app" do - expect(staged.info_plist_file.to_s).to include Hbc.appdir.join("TestCask.app/Contents/Info.plist") + expect(staged.info_plist_file).to eq Hbc.appdir.join("TestCask.app/Contents/Info.plist") end it "can execute commands on the Info.plist file" do |
