diff options
| -rwxr-xr-x | Library/Homebrew/.simplecov | 2 | ||||
| -rw-r--r-- | Library/Homebrew/test/tap_spec.rb | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/Library/Homebrew/.simplecov b/Library/Homebrew/.simplecov index f74aec72e..d2e00cf46 100755 --- a/Library/Homebrew/.simplecov +++ b/Library/Homebrew/.simplecov @@ -14,11 +14,13 @@ SimpleCov.start do add_filter "/Homebrew/cask/spec/" add_filter "/Homebrew/cask/test/" add_filter "/Homebrew/compat/" + add_filter "/Homebrew/dev-cmd/tests.rb" add_filter "/Homebrew/test/" add_filter "/Homebrew/vendor/" if ENV["HOMEBREW_INTEGRATION_TEST"] command_name "#{ENV["HOMEBREW_INTEGRATION_TEST"]} (#{$PROCESS_ID})" + at_exit do exit_code = $ERROR_INFO.nil? ? 0 : $ERROR_INFO.status $stdout.reopen("/dev/null") diff --git a/Library/Homebrew/test/tap_spec.rb b/Library/Homebrew/test/tap_spec.rb index b0ad1506d..50e4522af 100644 --- a/Library/Homebrew/test/tap_spec.rb +++ b/Library/Homebrew/test/tap_spec.rb @@ -4,7 +4,7 @@ RSpec::Matchers.alias_matcher :have_custom_remote, :be_custom_remote describe Tap do include FileUtils - subject { Tap.new("Homebrew", "foo") } + subject { described_class.new("Homebrew", "foo") } let(:path) { Tap::TAP_DIRECTORY/"homebrew/homebrew-foo" } let(:formula_file) { path/"Formula/foo.rb" } let(:alias_file) { path/"Aliases/bar" } @@ -84,7 +84,7 @@ describe Tap do end end - specify "#names" do + specify "::names" do expect(described_class.names.sort).to eq(["homebrew/core", "homebrew/foo"]) end |
