Skip to content
Browse files

Merge pull request #9977 from vipulnsward/fix_column_test_typo

anual_salary => annual_salary
  • Loading branch information...
2 parents 56edecb + 77a7382 commit 27d12bde1f2ef9bac24d24d576f23eee68544ca0 @rafaelfranca rafaelfranca committed Mar 28, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 activerecord/test/cases/migration/columns_test.rb
View
6 activerecord/test/cases/migration/columns_test.rb
@@ -55,10 +55,10 @@ def test_rename_column_preserves_default_value_not_null
default_before = connection.columns("test_models").find { |c| c.name == "salary" }.default
assert_equal 70000, default_before
- rename_column "test_models", "salary", "anual_salary"
+ rename_column "test_models", "salary", "annual_salary"
- assert TestModel.column_names.include?("anual_salary")
- default_after = connection.columns("test_models").find { |c| c.name == "anual_salary" }.default
+ assert TestModel.column_names.include?("annual_salary")
+ default_after = connection.columns("test_models").find { |c| c.name == "annual_salary" }.default
assert_equal 70000, default_after
end

0 comments on commit 27d12bd

Please sign in to comment.
Something went wrong with that request. Please try again.