Include FileUtils in spec_helper.

This commit is contained in:
Markus Reiter 2017-10-21 19:43:14 +02:00
parent f0a512ace4
commit 8821cdc492
2 changed files with 2 additions and 4 deletions

View File

@ -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)

View File

@ -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")