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.
1 parent 6dcc1b7 commit 764aa3dCopy full SHA for 764aa3d
test/cases/coerced_tests.rb
@@ -797,10 +797,11 @@ class PrimaryKeysTest < ActiveRecord::TestCase
797
798
require 'models/task'
799
class QueryCacheTest < ActiveRecord::TestCase
800
+ # SQL Server adapter not in list of supported adapters in original test.
801
coerce_tests! :test_cache_does_not_wrap_results_in_arrays
802
def test_cache_does_not_wrap_results_in_arrays_coerced
803
Task.cache do
- assert_kind_of Numeric, Task.connection.select_value("SELECT count(*) AS count_all FROM tasks")
804
+ assert_equal 2, Task.connection.select_value("SELECT count(*) AS count_all FROM tasks")
805
end
806
807
0 commit comments