diff --git a/Rakefile b/Rakefile index b5ce9ca..0cdc203 100644 --- a/Rakefile +++ b/Rakefile @@ -1,9 +1,8 @@ -require "rake/testtask" +require 'rubocop/rake_task' +require 'rspec/core/rake_task' -task :default => [:test] +RuboCop::RakeTask.new +RSpec::Core::RakeTask.new(:rspec) + +task :default => [:rubocop, :rspec] -Rake::TestTask.new do |t| - t.verbose = true - t.libs.push("demo", "test") - t.pattern = "test/**/*_test.rb" -end