diff options
author | Arthur Nogueira Neves <github@arthurnn.com> | 2017-02-06 11:12:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-06 11:12:52 -0500 |
commit | e3afc83631ebe2dbb3c4368756577bdd92ea1d62 (patch) | |
tree | 80153c29b0ce45de42328647443f89812357867d /activerecord/test/cases/adapters/mysql2/connection_test.rb | |
parent | bed90df099f62ea8be9fe19b889f5a0b080525b0 (diff) | |
parent | c8b5d828e7abbbbcf1f0854896453e8b29ab5d42 (diff) | |
download | rails-e3afc83631ebe2dbb3c4368756577bdd92ea1d62.tar.gz rails-e3afc83631ebe2dbb3c4368756577bdd92ea1d62.tar.bz2 rails-e3afc83631ebe2dbb3c4368756577bdd92ea1d62.zip |
Merge pull request #27919 from bf4/correct_spelling
Correct spelling
Diffstat (limited to 'activerecord/test/cases/adapters/mysql2/connection_test.rb')
-rw-r--r-- | activerecord/test/cases/adapters/mysql2/connection_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/adapters/mysql2/connection_test.rb b/activerecord/test/cases/adapters/mysql2/connection_test.rb index bae283a048..1f94472390 100644 --- a/activerecord/test/cases/adapters/mysql2/connection_test.rb +++ b/activerecord/test/cases/adapters/mysql2/connection_test.rb @@ -120,7 +120,7 @@ class Mysql2ConnectionTest < ActiveRecord::Mysql2TestCase end end - def test_passing_arbitary_flags_to_adapter + def test_passing_arbitrary_flags_to_adapter run_without_connection do |orig_connection| ActiveRecord::Base.establish_connection(orig_connection.merge(flags: Mysql2::Client::COMPRESS)) assert_equal (Mysql2::Client::COMPRESS | Mysql2::Client::FOUND_ROWS), ActiveRecord::Base.connection.raw_connection.query_options[:flags] |