Skip to content

Commit

Permalink
Update model_generator_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhardikjoshi committed Jan 12, 2024
1 parent f6a9fbd commit d020dee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions e2e_tests/model_generator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

it 'can be run/rollback without issue' do
migration = CreateUser.new(nil)
migration.down rescue nil # we make sure migration is not run before
expect do
migration.up
migration.down
Expand Down

0 comments on commit d020dee

Please sign in to comment.