method

assert_no_migration

Importance_1
assert_no_migration(relative) public

Asserts a given migration does not exist. You need to supply an absolute path or a path relative to the configured destination:

assert_no_migration "db/migrate/create_products.rb"
Show source
Register or log in to add new notes.