You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SoftLayer Storage
should create and destroy a container
should create and destroy an object
should recursively delete containers that contain objects (FAILED - 1)
CDN
should enable and disable cdn on a container (FAILED - 2)
should set the ttl for a container (FAILED - 3)
should set the ttl for an object (FAILED - 4)
should purge cdn objects (FAILED - 5)
search
should find containers (FAILED - 6)
should find objects
An error occurred in an after(:context) hook.
RuntimeError: let declaration sl_storage accessed in an after(:context) hook at:
/home/leledumbo/.gem/ruby/2.2.0/bundler/gems/softlayer-object-storage-ruby-a929004361bd/spec/basic_spec.rb:9:in `block (2 levels) in <top (required)>'
let and subject declarations are not intended to be called
in an after(:context) hook, as they exist to define state that
is reset between each example, while after(:context) exists to
cleanup state that is shared across examples in an example group.
occurred at /home/leledumbo/.gem/ruby/2.2.0/gems/rspec-core-3.2.2/lib/rspec/core/memoized_helpers.rb:155:in `fetch'
Failures:
SoftLayer Storage should recursively delete containers that contain objects
Failure/Error: sl_storage.delete_container(temp_container_name, true)
SoftLayer::ObjectStorage::Exception::NonEmptyContainer:
Container rspec container - 2015-03-18 16:45:24 +0700 is not empty
/home/leledumbo/.gem/ruby/2.2.0/bundler/gems/softlayer-object-storage-ruby-a929004361bd/lib/softlayer/object_storage/connection.rb:146:in `rescue in delete_container'
./basic_spec.rb:51:in `block (2 levels) in <top (required)>'
SoftLayer Storage CDN should enable and disable cdn on a container
Failure/Error: container.make_public
SoftLayer::ObjectStorage::Exception::NoSuchContainer:
Container rspec container - 2015-03-18 16:46:06 +0700 does not exist (response code: 400)
/home/leledumbo/.gem/ruby/2.2.0/bundler/gems/softlayer-object-storage-ruby-a929004361bd/lib/softlayer/object_storage/container.rb:360:in `rescue in post_with_headers'
./basic_spec.rb:61:in`block (3 levels) in <top (required)>'
SoftLayer Storage CDN should set the ttl for a container
Failure/Error: container.make_public(ttl)
SoftLayer::ObjectStorage::Exception::NoSuchContainer:
Container rspec container - 2015-03-18 16:47:06 +0700 does not exist (response code: 400)
/home/leledumbo/.gem/ruby/2.2.0/bundler/gems/softlayer-object-storage-ruby-a929004361bd/lib/softlayer/object_storage/container.rb:360:in `rescue in post_with_headers'
./basic_spec.rb:73:in`block (3 levels) in <top (required)>'
SoftLayer Storage CDN should set the ttl for an object
Failure/Error: container.make_public()
SoftLayer::ObjectStorage::Exception::NoSuchContainer:
Container rspec container - 2015-03-18 16:47:48 +0700 does not exist (response code: 400)
/home/leledumbo/.gem/ruby/2.2.0/bundler/gems/softlayer-object-storage-ruby-a929004361bd/lib/softlayer/object_storage/container.rb:360:in `rescue in post_with_headers'
./basic_spec.rb:80:in`block (3 levels) in <top (required)>'
SoftLayer Storage CDN should purge cdn objects
Failure/Error: container.make_public
SoftLayer::ObjectStorage::Exception::NoSuchContainer:
Container rspec container - 2015-03-18 16:48:34 +0700 does not exist (response code: 400)
/home/leledumbo/.gem/ruby/2.2.0/bundler/gems/softlayer-object-storage-ruby-a929004361bd/lib/softlayer/object_storage/container.rb:360:in `rescue in post_with_headers'
./basic_spec.rb:101:in `block (3 levels) in <top (required)>'
Deprecation Warnings:
Using should_not from rspec-expectations' old :should syntax without explicitly enabling the syntax is deprecated. Use the new :expect syntax or explicitly enable :should with config.expect_with(:rspec) { |c| c.syntax = :should } instead. Called from /home/leledumbo/.gem/ruby/2.2.0/bundler/gems/softlayer-object-storage-ruby-a929004361bd/spec/basic_spec.rb:25:in `block (2 levels) in <top (required)>'.
If you need more of the backtrace for any of these deprecations to
identify where to make the necessary changes, you can configure config.raise_errors_for_deprecations!, and it will turn the
deprecation warnings into errors, giving you the full backtrace.
1 deprecation warning total
Finished in 7 minutes 3 seconds (files took 0.27434 seconds to load)
9 examples, 6 failures
Failed examples:
rspec ./basic_spec.rb:46 # SoftLayer Storage should recursively delete containers that contain objects
rspec ./basic_spec.rb:56 # SoftLayer Storage CDN should enable and disable cdn on a container
rspec ./basic_spec.rb:70 # SoftLayer Storage CDN should set the ttl for a container
rspec ./basic_spec.rb:77 # SoftLayer Storage CDN should set the ttl for an object
rspec ./basic_spec.rb:89 # SoftLayer Storage CDN should purge cdn objects
rspec ./basic_spec.rb:99 # SoftLayer Storage search should find containers
I need the enable CDN (Container#make_public) to work.
The text was updated successfully, but these errors were encountered:
This is a result from running it on my machine:
I need the enable CDN (Container#make_public) to work.
The text was updated successfully, but these errors were encountered: