aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/test/spec_helper.rb2
-rw-r--r--Library/Homebrew/test/tap_spec.rb4
2 files changed, 2 insertions, 4 deletions
diff --git a/Library/Homebrew/test/spec_helper.rb b/Library/Homebrew/test/spec_helper.rb
index 98d1f2511..c40a72fcc 100644
--- a/Library/Homebrew/test/spec_helper.rb
+++ b/Library/Homebrew/test/spec_helper.rb
@@ -44,6 +44,8 @@ RSpec.configure do |config|
config.filter_run_when_matching :focus
+ config.include(FileUtils)
+
config.include(RuboCop::RSpec::ExpectOffense)
config.include(Test::Helper::Fixtures)
diff --git a/Library/Homebrew/test/tap_spec.rb b/Library/Homebrew/test/tap_spec.rb
index 76af27b92..cb908da9f 100644
--- a/Library/Homebrew/test/tap_spec.rb
+++ b/Library/Homebrew/test/tap_spec.rb
@@ -1,6 +1,4 @@
describe Tap do
- include FileUtils
-
alias_matcher :have_formula_file, :be_formula_file
alias_matcher :have_custom_remote, :be_custom_remote
@@ -307,8 +305,6 @@ describe Tap do
end
describe CoreTap do
- include FileUtils
-
specify "attributes" do
expect(subject.user).to eq("Homebrew")
expect(subject.repo).to eq("core")