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.1.0 spec/fog/compute/brightbox/image_spec.rb
fog-brightbox-1.0.0 spec/fog/compute/brightbox/image_spec.rb
fog-brightbox-1.0.0.rc2 spec/fog/compute/brightbox/image_spec.rb