class CIHelper::Commands::CheckDBRollback

Public Instance Methods

call() click to toggle source
# File lib/ci_helper/commands/check_db_rollback.rb, line 6
def call
  create_and_migrate_database!
  execute_with_env("bundle exec rake db:rollback_new_migrations")
  execute_with_env("bundle exec rake db:migrate")
end

Private Instance Methods

env() click to toggle source
# File lib/ci_helper/commands/check_db_rollback.rb, line 14
def env
  :test
end