Sha256: e6eb148acbacabf8bdc57af375997a87b3294491e6d3111cd75c75ec96a6a4e7

Contents?: true

Size: 526 Bytes

Versions: 22

Compression:

Stored size: 526 Bytes

Contents

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

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

  subject { service.firewall_policies.new }

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

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

Version data entries

22 entries across 22 versions & 1 rubygems

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