From 7e970216a341c7ed4ff82114247bf33cafdd3266 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Sat, 21 Oct 2017 03:12:50 +0200 Subject: Refactor and fix RuboCop specs. --- Library/Homebrew/test/support/helper/rubocop.rb | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 Library/Homebrew/test/support/helper/rubocop.rb (limited to 'Library/Homebrew/test/support') diff --git a/Library/Homebrew/test/support/helper/rubocop.rb b/Library/Homebrew/test/support/helper/rubocop.rb deleted file mode 100644 index 351f2ad82..000000000 --- a/Library/Homebrew/test/support/helper/rubocop.rb +++ /dev/null @@ -1,13 +0,0 @@ -module Test - module Helper - module RuboCop - def expect_offense(expected, actual) - expect(actual).to_not be_nil - expect(actual.message).to eq(expected[:message]) - expect(actual.severity).to eq(expected[:severity]) - expect(actual.line).to eq(expected[:line]) - expect(actual.column).to eq(expected[:column]) - end - end - end -end -- cgit v1.2.3