diff options
| author | Markus Reiter | 2017-02-08 14:28:18 +0100 |
|---|---|---|
| committer | Markus Reiter | 2017-02-10 17:19:19 +0100 |
| commit | 3db8cdf8613694a26051e0ee291f931a7ca00ae3 (patch) | |
| tree | e87bd292a9229d33758afd212ddd3f9b7ea9a7a3 /Library | |
| parent | 24d50599410dacbb36decfc957a5933e19d6a205 (diff) | |
| download | brew-3db8cdf8613694a26051e0ee291f931a7ca00ae3.tar.bz2 | |
Convert NestedContainer test to spec.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cask/spec/cask/artifact/nested_container_spec.rb (renamed from Library/Homebrew/cask/test/cask/artifact/nested_container_test.rb) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/cask/test/cask/artifact/nested_container_test.rb b/Library/Homebrew/cask/spec/cask/artifact/nested_container_spec.rb index 4d7ceaaa0..31a1cb5eb 100644 --- a/Library/Homebrew/cask/test/cask/artifact/nested_container_test.rb +++ b/Library/Homebrew/cask/spec/cask/artifact/nested_container_spec.rb @@ -1,17 +1,17 @@ -require "test_helper" +require "spec_helper" describe Hbc::Artifact::NestedContainer do describe "install" do it "extracts the specified paths as containers" do cask = Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/nested-app.rb").tap do |c| - TestHelper.install_without_artifacts(c) + InstallHelper.install_without_artifacts(c) end shutup do Hbc::Artifact::NestedContainer.new(cask).install_phase end - cask.staged_path.join("MyNestedApp.app").must_be :directory? + expect(cask.staged_path.join("MyNestedApp.app")).to be_a_directory end end end |
