未验证 提交 1b98de80 编写于 作者: K Kevin Deisz

Convert over the rest of the blacklist references

上级 c1485951
......@@ -51,12 +51,12 @@ def test_add_migration_with_attributes
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册