mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #41974 from jbampton/fix-spelling
chore: fix spelling
This commit is contained in:
commit
56f376c753
4 changed files with 4 additions and 4 deletions
|
@ -4,7 +4,7 @@ require "cases/helper"
|
|||
require "models/post"
|
||||
|
||||
if supports_optimizer_hints?
|
||||
class Mysql2OptimzerHintsTest < ActiveRecord::Mysql2TestCase
|
||||
class Mysql2OptimizerHintsTest < ActiveRecord::Mysql2TestCase
|
||||
fixtures :posts
|
||||
|
||||
def test_optimizer_hints
|
||||
|
|
|
@ -4,7 +4,7 @@ require "cases/helper"
|
|||
require "models/post"
|
||||
|
||||
if supports_optimizer_hints?
|
||||
class PostgresqlOptimzerHintsTest < ActiveRecord::PostgreSQLTestCase
|
||||
class PostgresqlOptimizerHintsTest < ActiveRecord::PostgreSQLTestCase
|
||||
fixtures :posts
|
||||
|
||||
def setup
|
||||
|
|
|
@ -258,7 +258,7 @@ class PostgresqlRangeTest < ActiveRecord::PostgreSQLTestCase
|
|||
Time.parse("2010-01-01 14:30:00.245124 +0100")...Time.parse("2010-01-01 13:30:00.245124 +0000"))
|
||||
end
|
||||
|
||||
def test_create_tsrange_preseve_usec
|
||||
def test_create_tsrange_preserve_usec
|
||||
tz = ::ActiveRecord::Base.default_timezone
|
||||
assert_equal_round_trip(@new_range, :ts_range,
|
||||
Time.public_send(tz, 2010, 1, 1, 14, 30, 0, 125435)...Time.public_send(tz, 2011, 2, 2, 14, 30, 0, 225435))
|
||||
|
|
|
@ -183,7 +183,7 @@ class LogSubscriberTest < ActiveRecord::TestCase
|
|||
assert_match(/SELECT .*?FROM .?developers.?/i, @logger.logged(:debug).last)
|
||||
end
|
||||
|
||||
def test_vebose_query_logs
|
||||
def test_verbose_query_logs
|
||||
ActiveRecord::Base.verbose_query_logs = true
|
||||
|
||||
logger = TestDebugLogSubscriber.new
|
||||
|
|
Loading…
Reference in a new issue