aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/migration/column_attributes_test.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2012-12-31 14:03:55 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2012-12-31 14:03:55 -0300
commitb22c527e65a41da59dbfcb078968069c6fae5086 (patch)
treefd50b9a5b79cf2e3cd508032aec320c0280b5b99 /activerecord/test/cases/migration/column_attributes_test.rb
parent5e5107430bccc0a536e0b264c951793d8fe62235 (diff)
parentcf4afc4d11556609802f640135cc7715e4a6a9fe (diff)
downloadrails-b22c527e65a41da59dbfcb078968069c6fae5086.tar.gz
rails-b22c527e65a41da59dbfcb078968069c6fae5086.tar.bz2
rails-b22c527e65a41da59dbfcb078968069c6fae5086.zip
Merge branch 'minitest_cleanup'
Diffstat (limited to 'activerecord/test/cases/migration/column_attributes_test.rb')
-rw-r--r--activerecord/test/cases/migration/column_attributes_test.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/activerecord/test/cases/migration/column_attributes_test.rb b/activerecord/test/cases/migration/column_attributes_test.rb
index b88db384a0..ec2926632c 100644
--- a/activerecord/test/cases/migration/column_attributes_test.rb
+++ b/activerecord/test/cases/migration/column_attributes_test.rb
@@ -16,7 +16,7 @@ module ActiveRecord
end
def test_add_remove_single_field_using_string_arguments
- refute TestModel.column_methods_hash.key?(:last_name)
+ assert_not TestModel.column_methods_hash.key?(:last_name)
add_column 'test_models', 'last_name', :string
@@ -27,11 +27,11 @@ module ActiveRecord
remove_column 'test_models', 'last_name'
TestModel.reset_column_information
- refute TestModel.column_methods_hash.key?(:last_name)
+ assert_not TestModel.column_methods_hash.key?(:last_name)
end
def test_add_remove_single_field_using_symbol_arguments
- refute TestModel.column_methods_hash.key?(:last_name)
+ assert_not TestModel.column_methods_hash.key?(:last_name)
add_column :test_models, :last_name, :string
@@ -41,7 +41,7 @@ module ActiveRecord
remove_column :test_models, :last_name
TestModel.reset_column_information
- refute TestModel.column_methods_hash.key?(:last_name)
+ assert_not TestModel.column_methods_hash.key?(:last_name)
end
def test_unabstracted_database_dependent_types