We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9aaa409 commit 1ea1da7Copy full SHA for 1ea1da7
1 file changed
test/load_test.rb
@@ -36,7 +36,7 @@ def test_false
36
assert_equal "Product A", JSON.parse(product.to_json)["name"]
37
assert_equal "Product A", JSON.parse(Product.search("product", load: false).to_a.to_json).first["name"]
38
39
- # confirm as_json attribute does not override method
+ # confirm as_json attribute does not override method when Active Support core extensions loaded
40
assert_equal ({"as_json" => 1}), Searchkick::HashWrapper.new({"as_json" => 1}).as_json
41
end
42
0 commit comments