arelastic 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -8,7 +8,7 @@ class Arelastic::Filters::QueryTest < MiniTest::Spec
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def test_with_string
|
11
|
-
expected = {
|
11
|
+
expected = {'query' => { 'query_string' => {'query' => 'blue dog'}}}
|
12
12
|
|
13
13
|
assert_equal expected, Arelastic::Filters::Query.new("blue dog").as_elastic
|
14
14
|
end
|