Sha256: b7374780a73894aa3beb032af11d203d8e00ef0015566b16dcf31617851995f4

Contents?: true

Size: 666 Bytes

Versions: 21

Compression:

Stored size: 666 Bytes

Contents

Shindo.tests('Fog::DNS[:google] | project requests', ['google']) do
  @dns = Fog::DNS[:google]

  @project_quota_format = {
    'kind' => String,
    'managedZones' => Integer,
    'rrsetsPerManagedZone' => Integer,
    'rrsetAdditionsPerChange' => Integer,
    'rrsetDeletionsPerChange'=>Integer,
    'totalRrdataSizePerChange' => Integer,
    'resourceRecordsPerRrset' => Integer,
  }

  @get_project_format = {
    'kind' => String,
    'number' => String,
    'id' => String,
    'quota' => @project_quota_format,
  }

  tests('success') do

    tests('#get_project').formats(@get_project_format) do
      @dns.get_project(@dns.project).body
    end

  end

end

Version data entries

21 entries across 19 versions & 5 rubygems

Version Path
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-google-0.1.0/tests/requests/dns/project_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-google-0.1.0/tests/requests/dns/project_tests.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-google-0.1.0/tests/requests/dns/project_tests.rb
fog-google-0.1.3 tests/requests/dns/project_tests.rb
fog-google-0.1.2 tests/requests/dns/project_tests.rb
fog-google-0.1.1 tests/requests/dns/project_tests.rb
fog-google-0.1.0 tests/requests/dns/project_tests.rb
fog-google-0.0.9 tests/requests/dns/project_tests.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-google-0.0.7/tests/requests/dns/project_tests.rb
fog-google-0.0.7 tests/requests/dns/project_tests.rb
fog-google-0.0.6 tests/requests/dns/project_tests.rb
fog-google-0.0.5 tests/requests/dns/project_tests.rb
fog-google-0.0.4 tests/requests/dns/project_tests.rb
fog-google-0.0.3 tests/requests/dns/project_tests.rb
fog-google-0.0.2 tests/requests/dns/project_tests.rb
fog-1.29.0 tests/google/requests/dns/project_tests.rb
fog-1.28.0 tests/google/requests/dns/project_tests.rb
fog-1.27.0 tests/google/requests/dns/project_tests.rb
fog-1.26.0 tests/google/requests/dns/project_tests.rb
fog-1.25.0 tests/google/requests/dns/project_tests.rb