Sha256: 0f990fd66d95087676e0906f7997079eccbb57351bab678339f533ebe029c84a

Contents?: true

Size: 461 Bytes

Versions: 23

Compression:

Stored size: 461 Bytes

Contents

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

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

  subject { service.flavors.new }

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

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

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
fog-brightbox-1.12.0 spec/fog/compute/brightbox/flavor_spec.rb
fog-brightbox-1.11.0 spec/fog/compute/brightbox/flavor_spec.rb
fog-brightbox-1.10.0 spec/fog/compute/brightbox/flavor_spec.rb
fog-brightbox-1.9.1 spec/fog/compute/brightbox/flavor_spec.rb
fog-brightbox-1.9.0 spec/fog/compute/brightbox/flavor_spec.rb
fog-brightbox-1.8.2 spec/fog/compute/brightbox/flavor_spec.rb
fog-brightbox-1.8.1 spec/fog/compute/brightbox/flavor_spec.rb
fog-brightbox-1.8.0 spec/fog/compute/brightbox/flavor_spec.rb
fog-brightbox-1.7.3 spec/fog/compute/brightbox/flavor_spec.rb
fog-brightbox-1.7.2 spec/fog/compute/brightbox/flavor_spec.rb
fog-brightbox-1.7.1 spec/fog/compute/brightbox/flavor_spec.rb
fog-brightbox-1.7.0 spec/fog/compute/brightbox/flavor_spec.rb
fog-brightbox-1.6.0 spec/fog/compute/brightbox/flavor_spec.rb
fog-brightbox-1.5.0 spec/fog/compute/brightbox/flavor_spec.rb
fog-brightbox-1.5.0.rc1 spec/fog/compute/brightbox/flavor_spec.rb
fog-brightbox-1.4.2 spec/fog/compute/brightbox/flavor_spec.rb
fog-brightbox-1.4.1 spec/fog/compute/brightbox/flavor_spec.rb
fog-brightbox-1.4.0 spec/fog/compute/brightbox/flavor_spec.rb
fog-brightbox-1.3.0 spec/fog/compute/brightbox/flavor_spec.rb
fog-brightbox-1.2.0 spec/fog/compute/brightbox/flavor_spec.rb