Sha256: 37c8885a2d25af7f8074edf982ca378617d28e21d381828db9ba6f1e7557fb31

Contents?: true

Size: 543 Bytes

Versions: 28

Compression:

Stored size: 543 Bytes

Contents

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

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

  subject { service.load_balancers.new }

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

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

Version data entries

28 entries across 26 versions & 3 rubygems

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