Rakefile in clearance-2.8.0 vs Rakefile in clearance-2.9.0
- old
+ new
@@ -1,15 +1,12 @@
-require "rubygems"
require "bundler/setup"
+
+APP_RAKEFILE = File.expand_path("spec/dummy/Rakefile", __dir__)
+load "rails/tasks/engine.rake"
+
require "bundler/gem_tasks"
-require "rake"
require "rspec/core/rake_task"
-
-namespace :dummy do
- require_relative "spec/dummy/application"
- Dummy::Application.load_tasks
-end
desc "Run specs other than spec/acceptance"
RSpec::Core::RakeTask.new("spec") do |task|
task.exclude_pattern = "spec/acceptance/**/*_spec.rb"
task.verbose = false