Skip to content
Commits on Feb 22, 2012
  1. Fix README.txt filename in manifest so that 'rake gem' works

    Dwayne Litzenberger committed Feb 22, 2012
Commits on Sep 7, 2011
  1. @dmajda

    Add .gitignore

    dmajda committed Sep 7, 2011
  2. @dmajda

    Fix test failure in failing migration test

    dmajda committed Sep 7, 2011
    The test assumed that the exception raised in a failing migration will
    get passed through. This is no longer true -- it is rescued and
    StandardError is raised instead.
    
    Fixes the following test failure:
    
        3) Failure:
      test_should_raise_error_if_migration_fails(MigrationTestHelperTest) [/test/migration_test_helper_test.rb:252]:
      <RuntimeError> exception expected but was
      Class: <StandardError>
      Message: <"An error has occurred, this and all later migrations canceled:\n\nboom">
      ---Backtrace---
      /test/migration_test_helper_test.rb:253:in `test_should_raise_error_if_migration_fails'
      /test/migration_test_helper_test.rb:252:in `test_should_raise_error_if_migration_fails'
      ---------------
  3. @dmajda

    Fix test failure caused by assuming existence of the "schema_info" table

    dmajda committed Sep 7, 2011
    The "schema_info" table was replaced by "schema_migrations" in Rails 2.1
    but this wasn't reflected in the tests. Let's fix this.
    
    Fixes the following test failure:
    
        3) Failure:
      test_should_drop_all_tables(MigrationTestHelperTest) [/test/migration_test_helper_test.rb:165]:
      <["dogs", "schema_info"]> expected but was
      <["dogs", "schema_migrations"]>.
  4. @dmajda

    Fix test error caused by using RAILS_ROOT

    dmajda committed Sep 7, 2011
    Fixes the following test error:
    
        4) Error:
      test_should_have_default_migration_dir_set(MigrationTestHelperTest):
      NameError: uninitialized constant MigrationTestHelperTest::RAILS_ROOT
          /test/migration_test_helper_test.rb:244:in `test_should_have_default_migration_dir_set'
  5. @dmajda

    Make "rake test" in Rails 3.1 environment

    dmajda committed Sep 7, 2011
    The tests still don't run cleanly. Fixing this will be the subject of
    next commits.
  6. @dmajda

    Make rake:test actually run tests

    dmajda committed Sep 7, 2011
    The glob Hoe uses for finding test files ("test/**/test_*.rb") does not
    match names of the test files so we need to override it.
  7. @dmajda

    Switch from deprecated Hoe.new to Hoe.spec

    dmajda committed Sep 6, 2011
    Fixes the following deprecation warning that appears when running e.g.
    "rake -T":
    
      Hoe.new {...} deprecated. Switch to Hoe.spec.
    
    Directories had to be removed from Manifest.txt to avoid errors like
    this after the Hoe.new -> Hoe.spec switch:
    
      Is a directory - ./generators/full_migration_test/templates
    
    Closes #4.
  8. @dmajda

    Fix RDoc deprecation warning

    dmajda committed Sep 6, 2011
    Fixes the following deprecation warning that appears when running e.g.
    "rake -T":
    
      rake/rdoctask is deprecated.  Use rdoc/task instead (in RDoc 2.4.2+)
    
    Closes #2.
Commits on Mar 8, 2009
  1. @bkeepers

    Allow Rails 2 sexy migrations style declarations

    bkeepers committed Mar 8, 2009
      assert_table :dogs do |t|
        t.integer :id, :default => 2
        t.string :name, :email
      end
Commits on May 1, 2008
  1. @danielmorrison
Commits on Apr 30, 2008
  1. @danielmorrison
  2. @danielmorrison
Commits on Jan 4, 2008
  1. Updating stable tag to version 1.3.3

    alles committed Jan 4, 2008
    git-svn-id: svn://rubyforge.org/var/svn/migrationtest/tags/migration_test_helper@43 5e72156d-3064-433f-85f5-a0241d87484b
Something went wrong with that request. Please try again.