Merge pull request #41974 from jbampton/fix-spelling

chore: fix spelling
This commit is contained in:
Ryuta Kamizono 2021-04-15 13:35:39 +09:00 committed by GitHub
commit 56f376c753
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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))

View File

@ -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