spec/dummy/Rakefile in rspec-sqlimit-0.0.5 vs spec/dummy/Rakefile in rspec-sqlimit-0.0.6
- old
+ new
@@ -1,14 +1,6 @@
-require "active_record"
-require "bundler/setup"
+# Add your own tasks in files placed in lib/tasks ending in .rake,
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-namespace :dummy do
- task :environment do
- require_relative "lib/dummy"
- end
+require_relative "config/application"
- namespace :db do
- task load_config: :environment
- end
-
- load "active_record/railties/databases.rake"
-end
+Rails.application.load_tasks