aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/primary_keys_test.rb
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2013-05-12 15:03:14 +0530
committerVipul A M <vipulnsward@gmail.com>2013-05-12 15:03:14 +0530
commit7493e0f78a023c9d43e01969842a4f10c0795f2f (patch)
treec9a7088fa1b25c60a563fd0f476c946e1c2e3014 /activerecord/test/cases/primary_keys_test.rb
parenta395c22fd3f55040c041a330c14b3676bfee29fc (diff)
downloadrails-7493e0f78a023c9d43e01969842a4f10c0795f2f.tar.gz
rails-7493e0f78a023c9d43e01969842a4f10c0795f2f.tar.bz2
rails-7493e0f78a023c9d43e01969842a4f10c0795f2f.zip
Fix class and method name typos
Diffstat (limited to 'activerecord/test/cases/primary_keys_test.rb')
-rw-r--r--activerecord/test/cases/primary_keys_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/primary_keys_test.rb b/activerecord/test/cases/primary_keys_test.rb
index 8e5379cb1f..aa125c70c5 100644
--- a/activerecord/test/cases/primary_keys_test.rb
+++ b/activerecord/test/cases/primary_keys_test.rb
@@ -205,7 +205,7 @@ if current_adapter?(:MysqlAdapter, :Mysql2Adapter)
class PrimaryKeyWithAnsiQuotesTest < ActiveRecord::TestCase
self.use_transactional_fixtures = false
- def test_primaery_key_method_with_ansi_quotes
+ def test_primary_key_method_with_ansi_quotes
con = ActiveRecord::Base.connection
con.execute("SET SESSION sql_mode='ANSI_QUOTES'")
assert_equal "id", con.primary_key("topics")