aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/calculations_test.rb
diff options
context:
space:
mode:
authorAbdelkader Boudih <terminale@gmail.com>2015-12-15 22:01:30 +0000
committerAbdelkader Boudih <terminale@gmail.com>2015-12-17 15:54:57 +0000
commitfb24d0ed6c26da70045c6fc128aaa9dcb777c28c (patch)
tree43de162a22b07482034c63f75d58e6e3cf230c8f /activerecord/test/cases/calculations_test.rb
parent0957c8ad6722c1a82c16f70b23fe1f7cb2607ff5 (diff)
downloadrails-fb24d0ed6c26da70045c6fc128aaa9dcb777c28c.tar.gz
rails-fb24d0ed6c26da70045c6fc128aaa9dcb777c28c.tar.bz2
rails-fb24d0ed6c26da70045c6fc128aaa9dcb777c28c.zip
Remove legacy mysql adapter
Diffstat (limited to 'activerecord/test/cases/calculations_test.rb')
-rw-r--r--activerecord/test/cases/calculations_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/calculations_test.rb b/activerecord/test/cases/calculations_test.rb
index 4a0e6f497f..d09009b65d 100644
--- a/activerecord/test/cases/calculations_test.rb
+++ b/activerecord/test/cases/calculations_test.rb
@@ -546,7 +546,7 @@ class CalculationsTest < ActiveRecord::TestCase
end
def test_from_option_with_specified_index
- if Edge.connection.adapter_name == 'MySQL' or Edge.connection.adapter_name == 'Mysql2'
+ if Edge.connection.adapter_name == 'Mysql2'
assert_equal Edge.count(:all), Edge.from('edges USE INDEX(unique_edge_index)').count(:all)
assert_equal Edge.where('sink_id < 5').count(:all),
Edge.from('edges USE INDEX(unique_edge_index)').where('sink_id < 5').count(:all)