diff options
author | Abdelkader Boudih <terminale@gmail.com> | 2015-12-15 22:01:30 +0000 |
---|---|---|
committer | Abdelkader Boudih <terminale@gmail.com> | 2015-12-17 15:54:57 +0000 |
commit | fb24d0ed6c26da70045c6fc128aaa9dcb777c28c (patch) | |
tree | 43de162a22b07482034c63f75d58e6e3cf230c8f /activerecord/test/cases/calculations_test.rb | |
parent | 0957c8ad6722c1a82c16f70b23fe1f7cb2607ff5 (diff) | |
download | rails-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.rb | 2 |
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) |