Rakefile in commontator-4.10.3 vs Rakefile in commontator-4.10.4

- old
+ new

@@ -9,14 +9,15 @@ APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__) load 'rails/tasks/engine.rake' Bundler::GemHelper.install_tasks -require 'rake/testtask' +begin + require 'rspec/core/rake_task' -Rake::TestTask.new(:spec => 'app:db:test:prepare') do |t| - t.libs << 'spec' - t.pattern = 'spec/**/*_spec.rb' - t.verbose = false + RSpec::Core::RakeTask.new(:spec) + + task :default => :spec +rescue LoadError + # no rspec available end -task :default => :spec