Rakefile in borutus-0.1.0 vs Rakefile in borutus-0.2.0
- old
+ new
@@ -1,11 +1,17 @@
require 'bundler/setup'
+APP_RAKEFILE = File.expand_path('./fixture_rails_root/Rakefile')
+load 'rails/tasks/engine.rake'
+load 'rails/tasks/statistics.rake'
+
+require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
-desc "run specs"
+desc 'run specs'
+
RSpec::Core::RakeTask.new do |t|
- t.rspec_opts = ["-c", "-f d", "-r ./spec/spec_helper.rb"]
+ t.rspec_opts = ['-c', '-f d', '-r ./spec/spec_helper.rb']
t.pattern = 'spec/**/*_spec.rb'
end
-task :default => :spec
+task default: :spec