We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef35bcc + 764aa3d commit 20f91a8Copy full SHA for 20f91a8
test/cases/coerced_tests.rb
@@ -798,10 +798,11 @@ class PrimaryKeysTest < ActiveRecord::TestCase
798
799
require 'models/task'
800
class QueryCacheTest < ActiveRecord::TestCase
801
+ # SQL Server adapter not in list of supported adapters in original test.
802
coerce_tests! :test_cache_does_not_wrap_results_in_arrays
803
def test_cache_does_not_wrap_results_in_arrays_coerced
804
Task.cache do
- assert_kind_of Numeric, Task.connection.select_value("SELECT count(*) AS count_all FROM tasks")
805
+ assert_equal 2, Task.connection.select_value("SELECT count(*) AS count_all FROM tasks")
806
end
807
808
0 commit comments