test/unit/searching_test.rb in elasticsearch-model-0.1.4 vs test/unit/searching_test.rb in elasticsearch-model-0.1.5

- old
+ new

@@ -22,9 +22,10 @@ Elasticsearch::Model::Searching::SearchRequest .expects(:new).with do |klass, query, options| assert_equal DummySearchingModel, klass assert_equal 'foo', query assert_equal({default_operator: 'AND'}, options) + true end .returns( stub('search') ) DummySearchingModel.search 'foo', default_operator: 'AND' end