Rakefile in fastly-rails-0.7.1 vs Rakefile in fastly-rails-0.8.0
- old
+ new
@@ -20,9 +20,10 @@
Bundler::GemHelper.install_tasks
namespace :test do
desc 'Install dependencies for all tests with appraisal'
task :setup do
+ sh 'bin/rails db:environment:set RAILS_ENV=test 2>&1 >/dev/null || exit 0'
sh 'appraisal install'
end
desc 'Run all tests with appraisal'
task :all do