Skip to content

Commit

Permalink
Fixes #35817 - load fixtures before snapshots:generate
Browse files Browse the repository at this point in the history
  • Loading branch information
m-bucher committed Sep 6, 2023
1 parent b9986c9 commit ef719af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/tasks/snapshots.rake
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ namespace :snapshots do
exit
end

# make sure to load fixtures before running:
Rake::Task['db:fixtures:load'].invoke

require 'database_cleaner'
require 'factory_bot_rails'

Expand Down

0 comments on commit ef719af

Please sign in to comment.