Sha256: 3d3661cc9e13334e8116b09f6d885bcce14381793f297a747eb9402c1e424b88

Contents?: true

Size: 447 Bytes

Versions: 30

Compression:

Stored size: 447 Bytes

Contents

require "spec_helper"
require "fog/brightbox/models/compute/zone"

describe Fog::Compute::Brightbox::Zone do
  include ModelSetup

  subject { service.zones.new }

  describe "when asked for collection name" do
    it "responds 'zones'" do
      assert_equal "zones", subject.collection_name
    end
  end

  describe "when asked for resource name" do
    it "responds 'zone'" do
      assert_equal "zone", subject.resource_name
    end
  end
end

Version data entries

30 entries across 28 versions & 3 rubygems

Version Path
fog-brightbox-1.0.0.rc1 spec/fog/compute/brightbox/zone_spec.rb
fog-brightbox-0.16.1 spec/fog/compute/brightbox/zone_spec.rb
fog-brightbox-0.16.0 spec/fog/compute/brightbox/zone_spec.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-brightbox-0.15.0/spec/fog/compute/brightbox/zone_spec.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-brightbox-0.15.0/spec/fog/compute/brightbox/zone_spec.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-brightbox-0.15.0/spec/fog/compute/brightbox/zone_spec.rb
fog-brightbox-0.15.0 spec/fog/compute/brightbox/zone_spec.rb
fog-brightbox-0.14.0 spec/fog/compute/brightbox/zone_spec.rb
fog-brightbox-0.13.0 spec/fog/compute/brightbox/zone_spec.rb
fog-brightbox-0.12.0 spec/fog/compute/brightbox/zone_spec.rb
fog-brightbox-0.11.0 spec/fog/compute/brightbox/zone_spec.rb
fog-brightbox-0.10.1 spec/fog/compute/brightbox/zone_spec.rb
fog-brightbox-0.10.0 spec/fog/compute/brightbox/zone_spec.rb
vagrant-cloudstack-1.2.0 vendor/bundle/gems/fog-brightbox-0.9.0/spec/fog/compute/brightbox/zone_spec.rb
fog-brightbox-0.9.0 spec/fog/compute/brightbox/zone_spec.rb
fog-brightbox-0.8.0 spec/fog/compute/brightbox/zone_spec.rb
fog-brightbox-0.7.2 spec/fog/compute/brightbox/zone_spec.rb
vagrant-cloudstack-1.1.0 vendor/bundle/gems/fog-brightbox-0.7.1/spec/fog/compute/brightbox/zone_spec.rb
fog-brightbox-0.7.1 spec/fog/compute/brightbox/zone_spec.rb
fog-brightbox-0.7.0 spec/fog/compute/brightbox/zone_spec.rb