Skip to content

Commit

Permalink
moves require statement for rubocop
Browse files Browse the repository at this point in the history
see issue #4
  • Loading branch information
Kayla Ziegler committed Aug 25, 2017
1 parent 22afbe0 commit e9fef48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/test.rake
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit e9fef48

Please sign in to comment.