diff --git a/Library/Homebrew/test/spec_helper.rb b/Library/Homebrew/test/spec_helper.rb index 98d1f2511f..c40a72fccc 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 76af27b923..cb908da9ff 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")