Sha256: abe641a7148c424c3a1b226fa12e2ba2479b22682822216708d12fc577375763

Contents?: true

Size: 504 Bytes

Versions: 95

Compression:

Stored size: 504 Bytes

Contents

def snapshot_tests(connection, params, mocks_implemented = true)
  model_tests(connection.snapshots, params[:snapshot_attributes], mocks_implemented) do
    if !Fog.mocking? || mocks_implemented
      @instance.wait_for { ready? }
    end
  end
end

Shindo.tests("Fog::Compute[:cloudstack] | snapshot", "cloudstack") do

  config = compute_providers[:cloudstack]

  snapshot_tests(Fog::Compute[:cloudstack], config, config[:mocked])

  tests('has volume relation') do
    responds_to(:volume)
  end

end

Version data entries

95 entries across 93 versions & 7 rubygems

Version Path
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-1.22.1/tests/cloudstack/compute/models/snapshot_tests.rb
fog-1.30.0 tests/cloudstack/compute/models/snapshot_tests.rb
fog-1.29.0 tests/cloudstack/compute/models/snapshot_tests.rb
fog-1.28.0 tests/cloudstack/compute/models/snapshot_tests.rb
fog-1.27.0 tests/cloudstack/compute/models/snapshot_tests.rb
fog-1.26.0 tests/cloudstack/compute/models/snapshot_tests.rb
fog-1.25.0 tests/cloudstack/compute/models/snapshot_tests.rb
nsidc-fog-1.24.1 tests/cloudstack/compute/models/snapshot_tests.rb
fog-1.24.0 tests/cloudstack/compute/models/snapshot_tests.rb
ns-fog-1.22.11 tests/cloudstack/compute/models/snapshot_tests.rb
ns-fog-1.22.10 tests/cloudstack/compute/models/snapshot_tests.rb
ns-fog-1.22.9 tests/cloudstack/compute/models/snapshot_tests.rb
ns-fog-1.22.8 tests/cloudstack/compute/models/snapshot_tests.rb
ns-fog-1.22.7 tests/cloudstack/compute/models/snapshot_tests.rb
ns-fog-1.22.6 tests/cloudstack/compute/models/snapshot_tests.rb
fog-1.23.0 tests/cloudstack/compute/models/snapshot_tests.rb
ns-fog-1.22.4 tests/cloudstack/compute/models/snapshot_tests.rb
ns-fog-1.22.3 tests/cloudstack/compute/models/snapshot_tests.rb
ns-fog-1.22.2 tests/cloudstack/compute/models/snapshot_tests.rb
fog-1.22.1 tests/cloudstack/compute/models/snapshot_tests.rb