From 0a4bc0e3b4526dacf2045b12741c1359b43607bc Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Thu, 9 Feb 2017 03:59:53 +0100 Subject: Convert uninstall_postflight test to spec. --- Library/Homebrew/cask/spec/cask/dsl/uninstall_postflight_spec.rb | 8 ++++++++ Library/Homebrew/cask/test/cask/dsl/uninstall_postflight_test.rb | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 Library/Homebrew/cask/spec/cask/dsl/uninstall_postflight_spec.rb delete mode 100644 Library/Homebrew/cask/test/cask/dsl/uninstall_postflight_test.rb (limited to 'Library') diff --git a/Library/Homebrew/cask/spec/cask/dsl/uninstall_postflight_spec.rb b/Library/Homebrew/cask/spec/cask/dsl/uninstall_postflight_spec.rb new file mode 100644 index 000000000..4b7dd7557 --- /dev/null +++ b/Library/Homebrew/cask/spec/cask/dsl/uninstall_postflight_spec.rb @@ -0,0 +1,8 @@ +require "spec_helper" + +describe Hbc::DSL::UninstallPostflight do + let(:cask) { Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/basic-cask.rb") } + let(:dsl) { Hbc::DSL::UninstallPostflight.new(cask, Hbc::FakeSystemCommand) } + + it_behaves_like Hbc::DSL::Base +end diff --git a/Library/Homebrew/cask/test/cask/dsl/uninstall_postflight_test.rb b/Library/Homebrew/cask/test/cask/dsl/uninstall_postflight_test.rb deleted file mode 100644 index ae4db979e..000000000 --- a/Library/Homebrew/cask/test/cask/dsl/uninstall_postflight_test.rb +++ /dev/null @@ -1,8 +0,0 @@ -require "test_helper" - -describe Hbc::DSL::UninstallPostflight do - let(:cask) { Hbc::CaskLoader.load_from_file(TEST_FIXTURE_DIR/"cask/Casks/basic-cask.rb") } - let(:dsl) { Hbc::DSL::UninstallPostflight.new(cask, Hbc::FakeSystemCommand) } - - it_behaves_like Hbc::DSL::Base -end -- cgit v1.2.3