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.
require
1 parent fa2b525 commit e64baf3Copy full SHA for e64baf3
elasticsearch-model/test/unit/response_result_test.rb
@@ -1,4 +1,5 @@
1
require 'test_helper'
2
+require 'active_support/json/encoding'
3
4
class Elasticsearch::Model::ResultTest < Test::Unit::TestCase
5
context "Response result" do
@@ -80,7 +81,6 @@ class Elasticsearch::Model::ResultTest < Test::Unit::TestCase
80
81
end
82
83
should "delegate as_json to @result even when ActiveSupport changed half of Ruby" do
- require 'active_support/json/encoding'
84
result = Elasticsearch::Model::Response::Result.new foo: 'bar'
85
86
result.instance_variable_get(:@result).expects(:as_json)
0 commit comments