Skip to content

Commit

Permalink
create_table + transactional_fixtures = 💣
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Aug 15, 2014
1 parent 2cc1a64 commit 4954de6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions activerecord/test/cases/schema_dumper_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
require 'support/schema_dumping_helper'

class SchemaDumperTest < ActiveRecord::TestCase
self.use_transactional_fixtures = false

setup do
ActiveRecord::SchemaMigration.create_table
end
Expand All @@ -21,6 +23,8 @@ def test_dump_schema_information_outputs_lexically_ordered_versions

schema_info = ActiveRecord::Base.connection.dump_schema_information
assert_match(/20100201010101.*20100301010101/m, schema_info)
ensure
ActiveRecord::SchemaMigration.delete_all
end

def test_magic_comment
Expand Down

0 comments on commit 4954de6

Please sign in to comment.