Rakefile in audited-3.0.0 vs Rakefile in audited-4.0.0.rc1

- old
+ new

@@ -15,10 +15,12 @@ RSpec::Core::RakeTask.new(adapter) do |t| t.pattern = "spec/audited/adapters/#{adapter}/**/*_spec.rb" end end -RSpec::Core::RakeTask.new(:spec => ADAPTERS) do |t| - t.pattern = 'spec/audited/*_spec.rb' +task :spec do + ADAPTERS.each do |adapter| + Rake::Task[adapter].invoke + end end task :default => :spec