From e9fef4898923d8a6bd707083a7b6fe6c5b18a73d Mon Sep 17 00:00:00 2001 From: Kayla Ziegler Date: Fri, 25 Aug 2017 11:13:50 -0700 Subject: [PATCH] moves require statement for rubocop see issue https://github.com/chapmanu/imposter/issues/4 --- lib/tasks/test.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/test.rake b/lib/tasks/test.rake index 6e2fbed..5aaf66f 100644 --- a/lib/tasks/test.rake +++ b/lib/tasks/test.rake @@ -1,10 +1,10 @@ -require 'rubocop/rake_task' # Add additional test suite definitions to the default test task here namespace :test do desc 'Runs RuboCop on specified directories' RuboCop::RakeTask.new(:rubocop) do |task| # Dirs: app, lib, test + require 'rubocop/rake_task' task.patterns = ['app/**/*.rb', 'lib/**/*.rb', 'test/**/*.rb'] # Make it easier to disable cops.