提交 2519fb0e 编写于 作者: R Rafael Mendonça França

Merge pull request #10577 from vipulnsward/fix_method_typos

Fix class and method name typos
...@@ -235,7 +235,7 @@ def test_change_column_quotes_column_names ...@@ -235,7 +235,7 @@ def test_change_column_quotes_column_names
end end
end end
def test_keeping_default_and_notnull_constaint_on_change def test_keeping_default_and_notnull_constraints_on_change
connection.create_table :testings do |t| connection.create_table :testings do |t|
t.column :title, :string t.column :title, :string
end end
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
require 'models/toy' require 'models/toy'
require 'rexml/document' require 'rexml/document'
class PersistencesTest < ActiveRecord::TestCase class PersistenceTest < ActiveRecord::TestCase
fixtures :topics, :companies, :developers, :projects, :computers, :accounts, :minimalistics, 'warehouse-things', :authors, :categorizations, :categories, :posts, :minivans, :pets, :toys fixtures :topics, :companies, :developers, :projects, :computers, :accounts, :minimalistics, 'warehouse-things', :authors, :categorizations, :categories, :posts, :minivans, :pets, :toys
# Oracle UPDATE does not support ORDER BY # Oracle UPDATE does not support ORDER BY
......
...@@ -205,7 +205,7 @@ def test_set_primary_key_with_no_connection ...@@ -205,7 +205,7 @@ def test_set_primary_key_with_no_connection
class PrimaryKeyWithAnsiQuotesTest < ActiveRecord::TestCase class PrimaryKeyWithAnsiQuotesTest < ActiveRecord::TestCase
self.use_transactional_fixtures = false 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 = ActiveRecord::Base.connection
con.execute("SET SESSION sql_mode='ANSI_QUOTES'") con.execute("SET SESSION sql_mode='ANSI_QUOTES'")
assert_equal "id", con.primary_key("topics") assert_equal "id", con.primary_key("topics")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册