Sha256: 89c257e977900dfe7d1964ebc790c4583cbd6eafd020f092d40196cb8892585e

Contents?: true

Size: 663 Bytes

Versions: 14

Compression:

Stored size: 663 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

14 entries across 14 versions & 1 rubygems

Version Path
fog-google-0.6.0 tests/requests/dns/project_tests.rb
fog-google-0.5.5 tests/requests/dns/project_tests.rb
fog-google-0.5.4 tests/requests/dns/project_tests.rb
fog-google-0.5.3 tests/requests/dns/project_tests.rb
fog-google-0.5.2 tests/requests/dns/project_tests.rb
fog-google-0.5.1 tests/requests/dns/project_tests.rb
fog-google-0.5.0 tests/requests/dns/project_tests.rb
fog-google-0.4.2 tests/requests/dns/project_tests.rb
fog-google-0.4.1 tests/requests/dns/project_tests.rb
fog-google-0.4.0 tests/requests/dns/project_tests.rb
fog-google-0.3.2 tests/requests/dns/project_tests.rb
fog-google-0.3.1 tests/requests/dns/project_tests.rb
fog-google-0.3.0 tests/requests/dns/project_tests.rb
fog-google-0.2.0 tests/requests/dns/project_tests.rb