Skip to content

Commit

Permalink
Fix rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
mullermp committed Jul 31, 2024
1 parent e97dddc commit 49620fb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,8 @@ RuboCop::RakeTask.new
RSpec::Core::RakeTask.new(:spec)

task :db_migrate do
ENV['RAILS_ENV'] = 'test'
Dir.chdir('spec/dummy') do
`rake db:migrate`
`RAILS_ENV=test rake -I ../../lib db:migrate`
end
end

Expand Down

0 comments on commit 49620fb

Please sign in to comment.