Permalink
Browse files

anual_salary => annual_salary

  • Loading branch information...
1 parent 56edecb commit 77a7382b085342ac61f59cdd1f63f996c4818f6d @vipulnsward vipulnsward committed Mar 28, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 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 77a7382

Please sign in to comment.