mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
[ci skip] fix spelling of override
This commit is contained in:
parent
82e28492e7
commit
12ce5b1cf6
4 changed files with 5 additions and 5 deletions
|
@ -640,7 +640,7 @@ end
|
|||
|
||||
class RequestMethod < BaseRequestTest
|
||||
test "method returns environment's request method when it has not been
|
||||
overriden by middleware".squish do
|
||||
overridden by middleware".squish do
|
||||
|
||||
ActionDispatch::Request::HTTP_METHODS.each do |method|
|
||||
request = stub_request('REQUEST_METHOD' => method)
|
||||
|
|
|
@ -69,8 +69,8 @@ module ActiveRecord
|
|||
end
|
||||
|
||||
# Determines whether the mutable value has been modified since it was
|
||||
# read. Returns +false+ by default. This method should not need to be
|
||||
# overriden directly. Types which return a mutable value should include
|
||||
# read. Returns +false+ by default. This method should not be overridden
|
||||
# directly. Types which return a mutable value should include
|
||||
# +Type::Mutable+, which will define this method.
|
||||
def changed_in_place?(*)
|
||||
false
|
||||
|
|
|
@ -150,7 +150,7 @@ class MysqlConnectionTest < ActiveRecord::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
def test_mysql_sql_mode_variable_overides_strict_mode
|
||||
def test_mysql_sql_mode_variable_overrides_strict_mode
|
||||
run_without_connection do |orig_connection|
|
||||
ActiveRecord::Base.establish_connection(orig_connection.deep_merge(variables: { 'sql_mode' => 'ansi' }))
|
||||
result = ActiveRecord::Base.connection.exec_query 'SELECT @@SESSION.sql_mode'
|
||||
|
|
|
@ -76,7 +76,7 @@ class MysqlConnectionTest < ActiveRecord::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
def test_mysql_sql_mode_variable_overides_strict_mode
|
||||
def test_mysql_sql_mode_variable_overrides_strict_mode
|
||||
run_without_connection do |orig_connection|
|
||||
ActiveRecord::Base.establish_connection(orig_connection.deep_merge(variables: { 'sql_mode' => 'ansi' }))
|
||||
result = ActiveRecord::Base.connection.exec_query 'SELECT @@SESSION.sql_mode'
|
||||
|
|
Loading…
Reference in a new issue