aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-06-10 13:36:17 +0200
committerYves Senn <yves.senn@gmail.com>2014-06-10 13:36:17 +0200
commit4b8d0b803f454058eb363a101b512b98e4ec198d (patch)
tree73385dc63e9948ff18db518d0a508317a0e261e2 /activerecord
parentfcd0ac066e0959a9f4fa4459a27e041abe8eb52a (diff)
downloadrails-4b8d0b803f454058eb363a101b512b98e4ec198d.tar.gz
rails-4b8d0b803f454058eb363a101b512b98e4ec198d.tar.bz2
rails-4b8d0b803f454058eb363a101b512b98e4ec198d.zip
test, fix typo, `create_index` does not exist.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/schema_dumper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/schema_dumper_test.rb b/activerecord/test/cases/schema_dumper_test.rb
index e2a18d138d..5f02d39e32 100644
--- a/activerecord/test/cases/schema_dumper_test.rb
+++ b/activerecord/test/cases/schema_dumper_test.rb
@@ -394,7 +394,7 @@ class SchemaDumperTest < ActiveRecord::TestCase
output = standard_dump
assert_no_match %r{create_table "foo_.+_bar"}, output
- assert_no_match %r{create_index "foo_.+_bar"}, output
+ assert_no_match %r{add_index "foo_.+_bar"}, output
assert_no_match %r{create_table "schema_migrations"}, output
ensure
migration.migrate(:down)