mongoid-elasticsearch 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88487cee6ea854abe2c5d830e319fba9a6ecf76a
|
4
|
+
data.tar.gz: 13d3d7ec572729e6b24616cfec05bc12627e64b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 780cf948874da57f3c455603a1314110b02e1c5361c2ef0c1db24820cdca31cb351b04cd98eec5309d98fe28f6fd53cfdada970423f8eae27598b5a84116e96e
|
7
|
+
data.tar.gz: b7eb6e71cf359e7b781b53fe5e532939d808238b309f6ce5fb206c8dae43da5b4c85b4c60502863bdf31c40cb62b309c351813ab160e1ea061fa3f130249fa2f
|
@@ -301,7 +301,7 @@ describe Namespaced::Model do
|
|
301
301
|
|
302
302
|
it '#search ignores irrelevant' do
|
303
303
|
Namespaced::Model.es.search('irrelevant').to_a.size.should eq 1
|
304
|
-
Namespaced::Model.es.search('test').to_a.size.should eq 20
|
304
|
+
Namespaced::Model.es.search('test', per_page: 30).to_a.size.should eq 20
|
305
305
|
end
|
306
306
|
|
307
307
|
it '#search dynamic wrapper' do
|
@@ -314,7 +314,7 @@ describe Namespaced::Model do
|
|
314
314
|
Namespaced::Model.es.search('test', per_page: 10, page: 2).to_a.size.should eq 10
|
315
315
|
Namespaced::Model.es.search('test', per_page: 30, page: 2).to_a.size.should eq 0
|
316
316
|
Namespaced::Model.es.search('test', per_page: 2, page: 2).to_a.size.should eq 2
|
317
|
-
Namespaced::Model.es.search(body: {query: {query_string: {query: 'test'}}}).to_a.length.should eq 20
|
317
|
+
Namespaced::Model.es.search(body: {query: {query_string: {query: 'test'}}}, size: 50).to_a.length.should eq 20
|
318
318
|
end
|
319
319
|
|
320
320
|
it '#all' do
|