1. 17 Aug, 2017 3 commits
    • Grzegorz Bizon's avatar
      3a1103fd
    • Grzegorz Bizon's avatar
      Merge branch 'backstage/gb/migrations-tests-schema-version' into... · d1cfa79d
      Grzegorz Bizon authored
      Merge branch 'backstage/gb/migrations-tests-schema-version' into backstage/gb/migrate-stages-statuses
      
      * backstage/gb/migrations-tests-schema-version:
        Migrate down before each migration unit test
        Disable db_cleaner tables caching in migrations tests
        Extend migrations testing documentation
        Make it possible to provide schema version in tests
        Migrate db schema for context in :migration specs
      d1cfa79d
    • Grzegorz Bizon's avatar
      Migrate down before each migration unit test · 56d24bcf
      Grzegorz Bizon authored
      `migrate!` helper triggers a migration that is under the test, so we
      need to revert it before each subsequent example. This means that we
      need to place it in `before(:each, :migration)` hook.
      
      We still want to migrate everything up *after* each *context*, so in
      otherwords we need to place migrate up helper in `before(:context,
      :migration)`.
      56d24bcf
  2. 16 Aug, 2017 8 commits
  3. 15 Aug, 2017 29 commits