You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-ruby/aws-sdk/files/aws-sdk-1.5.3-disabletest.p...

39 lines
1.2 KiB

diff --git a/spec/shared/s3/paginated_collection_examples.rb b/spec/shared/s3/paginated_collection_examples.rb
index b9eb2e4..50fd291 100644
--- a/spec/shared/s3/paginated_collection_examples.rb
+++ b/spec/shared/s3/paginated_collection_examples.rb
@@ -84,33 +84,6 @@ module AWS
end
- it 'should request the remainder of the requested number of items' do
- expect_limits = [2, 2, 1]
- results = [
- client.new_stub_for(list_method),
- client.new_stub_for(list_method),
- client.new_stub_for(list_method),
- ]
- results[0].data[:truncated] = true
- results[1].data[:truncated] = true
- results[2].data[:truncated] = false
-
- ["first", "second", "third"].zip(results).each do |name, result|
- stub_markers(result, name)
- end
-
- [0, 1, 0].zip(results).each do |quantity, result|
- stub_members(result, quantity)
- end
-
- client.should_receive(list_method) do |opts|
- expect_limits.should_not be_empty
- opts[limit_param].should == expect_limits.shift
- results.shift
- end
- collection.each(:limit => 2) { |u| }
- end
-
end
end