Sha256: 5ead4469c71605c9b507989b8e17b81f47f2b41344d30bba4e41d9ad8fa3cc21

Contents?: true

Size: 488 Bytes

Versions: 23

Compression:

Stored size: 488 Bytes

Contents

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

describe Fog::Brightbox::Compute::Image do
  include ModelSetup
  include SupportsResourceLocking

  subject { service.images.new }

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

  describe "when asked for resource name" do
    it "responds 'image'" do
      assert_equal "image", 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/image_spec.rb
fog-brightbox-1.11.0 spec/fog/compute/brightbox/image_spec.rb
fog-brightbox-1.10.0 spec/fog/compute/brightbox/image_spec.rb
fog-brightbox-1.9.1 spec/fog/compute/brightbox/image_spec.rb
fog-brightbox-1.9.0 spec/fog/compute/brightbox/image_spec.rb
fog-brightbox-1.8.2 spec/fog/compute/brightbox/image_spec.rb
fog-brightbox-1.8.1 spec/fog/compute/brightbox/image_spec.rb
fog-brightbox-1.8.0 spec/fog/compute/brightbox/image_spec.rb
fog-brightbox-1.7.3 spec/fog/compute/brightbox/image_spec.rb
fog-brightbox-1.7.2 spec/fog/compute/brightbox/image_spec.rb
fog-brightbox-1.7.1 spec/fog/compute/brightbox/image_spec.rb
fog-brightbox-1.7.0 spec/fog/compute/brightbox/image_spec.rb
fog-brightbox-1.6.0 spec/fog/compute/brightbox/image_spec.rb
fog-brightbox-1.5.0 spec/fog/compute/brightbox/image_spec.rb
fog-brightbox-1.5.0.rc1 spec/fog/compute/brightbox/image_spec.rb
fog-brightbox-1.4.2 spec/fog/compute/brightbox/image_spec.rb
fog-brightbox-1.4.1 spec/fog/compute/brightbox/image_spec.rb
fog-brightbox-1.4.0 spec/fog/compute/brightbox/image_spec.rb
fog-brightbox-1.3.0 spec/fog/compute/brightbox/image_spec.rb
fog-brightbox-1.2.0 spec/fog/compute/brightbox/image_spec.rb