diff options
| author | Mike McQuaid | 2017-11-03 17:45:57 +0000 |
|---|---|---|
| committer | GitHub | 2017-11-03 17:45:57 +0000 |
| commit | c6f40d58642149b0ccbe1282554c6b05a744a3dc (patch) | |
| tree | b17185c555804a773eb350fe0fd59f133502a724 /Library/Homebrew/test | |
| parent | 4eeac6f884a72bd16ddbab03db22f293e18f02bc (diff) | |
| parent | 29f81812ccf78c85ddac931dcfea9bfc88af82db (diff) | |
| download | brew-c6f40d58642149b0ccbe1282554c6b05a744a3dc.tar.bz2 | |
Merge pull request #3385 from MikeMcQuaid/path-fixes-cleanup
Fix and cleanup some PATH usage.
Diffstat (limited to 'Library/Homebrew/test')
| -rw-r--r-- | Library/Homebrew/test/requirement_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/requirement_spec.rb b/Library/Homebrew/test/requirement_spec.rb index 11a3da8f4..2d0d86c86 100644 --- a/Library/Homebrew/test/requirement_spec.rb +++ b/Library/Homebrew/test/requirement_spec.rb @@ -138,7 +138,7 @@ describe Requirement do end it "infers path from #satisfy result" do - expect(ENV).to receive(:append_path).with("PATH", Pathname.new("/foo/bar")) + expect(ENV).to receive(:prepend_path).with("PATH", Pathname.new("/foo/bar")) subject.satisfied? subject.modify_build_environment end |
