aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/schema_dumper_test.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2014-11-25 15:08:55 -0700
committerSean Griffin <sean@seantheprogrammer.com>2014-11-25 15:08:55 -0700
commite6089029c4a41f9693cc5f51e6557d6f53b1faf5 (patch)
tree9dac3421aff62c194da6fc6ba07dbdf6d66c9441 /activerecord/test/cases/schema_dumper_test.rb
parent708e1109d14ed3b2fd68e3cc35f83c8519b9269f (diff)
parent17efb3b919e8eff1ca5da49b12e3c1f607eb93e3 (diff)
downloadrails-e6089029c4a41f9693cc5f51e6557d6f53b1faf5.tar.gz
rails-e6089029c4a41f9693cc5f51e6557d6f53b1faf5.tar.bz2
rails-e6089029c4a41f9693cc5f51e6557d6f53b1faf5.zip
Merge pull request #17697 from sgrif/sg-remove-is-a-check-when-ignoring-tables
Remove is_a? check when ignoring tables
Diffstat (limited to 'activerecord/test/cases/schema_dumper_test.rb')
-rw-r--r--activerecord/test/cases/schema_dumper_test.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/activerecord/test/cases/schema_dumper_test.rb b/activerecord/test/cases/schema_dumper_test.rb
index 6303393c22..8731531f54 100644
--- a/activerecord/test/cases/schema_dumper_test.rb
+++ b/activerecord/test/cases/schema_dumper_test.rb
@@ -162,16 +162,6 @@ class SchemaDumperTest < ActiveRecord::TestCase
assert_no_match %r{create_table "schema_migrations"}, output
end
- def test_schema_dump_illegal_ignored_table_value
- stream = StringIO.new
- old_ignore_tables, ActiveRecord::SchemaDumper.ignore_tables = ActiveRecord::SchemaDumper.ignore_tables, [5]
- assert_raise(StandardError) do
- ActiveRecord::SchemaDumper.dump(ActiveRecord::Base.connection, stream)
- end
- ensure
- ActiveRecord::SchemaDumper.ignore_tables = old_ignore_tables
- end
-
def test_schema_dumps_index_columns_in_right_order
index_definition = standard_dump.split(/\n/).grep(/add_index.*companies/).first.strip
if current_adapter?(:MysqlAdapter, :Mysql2Adapter, :PostgreSQLAdapter)