Sha256: 4079f2dd2591b9038b728cfa77aa629d243387faa0f6659bc6400bfd744b6986

Contents?: true

Size: 496 Bytes

Versions: 23

Compression:

Stored size: 496 Bytes

Contents

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

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

  subject { service.applications.new }

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

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