Skip to content

Commit

Permalink
Merge pull request #10577 from vipulnsward/fix_method_typos
Browse files Browse the repository at this point in the history
Fix class and method name typos
  • Loading branch information
rafaelfranca committed May 12, 2013
2 parents 64a508f + 7493e0f commit 2519fb0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion activerecord/test/cases/migration/change_schema_test.rb
Expand Up @@ -235,7 +235,7 @@ def test_change_column_quotes_column_names
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|
t.column :title, :string
end
Expand Down
2 changes: 1 addition & 1 deletion activerecord/test/cases/persistence_test.rb
Expand Up @@ -18,7 +18,7 @@
require 'models/toy'
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

# Oracle UPDATE does not support ORDER BY
Expand Down
2 changes: 1 addition & 1 deletion activerecord/test/cases/primary_keys_test.rb
Expand Up @@ -205,7 +205,7 @@ def test_set_primary_key_with_no_connection
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")
Expand Down

0 comments on commit 2519fb0

Please sign in to comment.