Sha256: 123f59260f2708eeebb470eb997ba23819c832a6e74af273a88c798764378824

Contents?: true

Size: 417 Bytes

Versions: 1

Compression:

Stored size: 417 Bytes

Contents

def the_db_migrate_folder
  File.join(DUMMY_APP_ROOT_FOLDER, 'db', 'migrate')
end

def given_no_migration_script_exist
  FileUtils.rm_rf the_db_migrate_folder
end

def given_the_db_migrate_folder_exists
  FileUtils.mkdir_p the_db_migrate_folder
end

def given_the_db_migrate_folder_has_been_reseted
  given_no_migration_script_exist
  given_the_db_migrate_folder_exists
end

def when_i_access_the_app
  visit '/'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_record_migration_ui-0.1.2 spec/support/shared_steps.rb