diff options
| author | Markus Reiter | 2016-10-22 00:48:30 +0200 | 
|---|---|---|
| committer | Markus Reiter | 2016-10-24 15:52:41 +0200 | 
| commit | 31ec04704a1bc11d181b7d55a02d16b83ea2a11d (patch) | |
| tree | f191b1eca7d2cfbbe43410e1a5243ece902bb154 /Library/Homebrew/test/test_tab.rb | |
| parent | b481ed73a079ea6abecf18529d61eea87e85d058 (diff) | |
| download | brew-31ec04704a1bc11d181b7d55a02d16b83ea2a11d.tar.bz2 | |
Move cask fixtures to `test/fixtures/cask`.
Diffstat (limited to 'Library/Homebrew/test/test_tab.rb')
| -rw-r--r-- | Library/Homebrew/test/test_tab.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_tab.rb b/Library/Homebrew/test/test_tab.rb index e41f76e27..93c88d64b 100644 --- a/Library/Homebrew/test/test_tab.rb +++ b/Library/Homebrew/test/test_tab.rb @@ -81,7 +81,7 @@ class TabTests < Homebrew::TestCase    end    def test_from_old_version_file -    path = Pathname.new(TEST_DIRECTORY).join("fixtures", "receipt_old.json") +    path = Pathname.new("#{TEST_FIXTURE_DIR}/receipt_old.json")      tab = Tab.from_file(path)      assert_equal @used.sort, tab.used_options.sort @@ -101,7 +101,7 @@ class TabTests < Homebrew::TestCase    end    def test_from_file -    path = Pathname.new(TEST_DIRECTORY).join("fixtures", "receipt.json") +    path = Pathname.new("#{TEST_FIXTURE_DIR}/receipt.json")      tab = Tab.from_file(path)      source_path = "/usr/local/Library/Taps/hombrew/homebrew-core/Formula/foo.rb"      runtime_dependencies = [{ "full_name" => "foo", "version" => "1.0" }]  | 
