api_bucket 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
data/lib/api_bucket/version.rb
CHANGED
@@ -30,6 +30,15 @@ describe "ApiBucket::Amazon" do
|
|
30
30
|
service = ApiBucket::Amazon::Client.new
|
31
31
|
expect(service.search(nil).items).to be_empty
|
32
32
|
end
|
33
|
+
|
34
|
+
context 'when add options' do
|
35
|
+
it 'can search items' do
|
36
|
+
service = ApiBucket::Amazon::Client.new
|
37
|
+
response = service.search('ruby', {search_index: 'All'})
|
38
|
+
expect(response.items.count).to be > 2
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
33
42
|
end
|
34
43
|
|
35
44
|
describe '#lookup' do
|