aboutsummaryrefslogtreecommitdiffstats
path: root/railties
diff options
context:
space:
mode:
authorKevin Deisz <kevin.deisz@gmail.com>2018-08-24 16:11:29 -0400
committerKevin Deisz <kevin.deisz@gmail.com>2018-08-24 16:11:29 -0400
commit1b98de8030ebd4f6b03df595de3d5447703c8a43 (patch)
tree070adbf7e7a8dedca694827954e8721e588a39e7 /railties
parentc14859513a648270705b61210dc3ab2fe5d04004 (diff)
downloadrails-1b98de8030ebd4f6b03df595de3d5447703c8a43.tar.gz
rails-1b98de8030ebd4f6b03df595de3d5447703c8a43.tar.bz2
rails-1b98de8030ebd4f6b03df595de3d5447703c8a43.zip
Convert over the rest of the blacklist references
Diffstat (limited to 'railties')
-rw-r--r--railties/test/generators/migration_generator_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/generators/migration_generator_test.rb b/railties/test/generators/migration_generator_test.rb
index 88a939a55a..44c27c87f8 100644
--- a/railties/test/generators/migration_generator_test.rb
+++ b/railties/test/generators/migration_generator_test.rb
@@ -51,12 +51,12 @@ class MigrationGeneratorTest < Rails::Generators::TestCase
end
def test_add_migration_with_table_having_from_in_title
- migration = "add_email_address_to_blacklisted_from_campaign"
+ migration = "add_email_address_to_restricted_list_from_campaign"
run_generator [migration, "email_address:string"]
assert_migration "db/migrate/#{migration}.rb" do |content|
assert_method :change, content do |change|
- assert_match(/add_column :blacklisted_from_campaigns, :email_address, :string/, change)
+ assert_match(/add_column :restricted_list_from_campaigns, :email_address, :string/, change)
end
end
end