Sha256: 823bbf73beb4d39bce2b22a7eba2155574543e62e907c02a4dadbba06744b73d

Contents?: true

Size: 502 Bytes

Versions: 22

Compression:

Stored size: 502 Bytes

Contents

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

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

  subject { service.server_groups.new }

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

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

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
fog-brightbox-1.0.0 spec/fog/compute/brightbox/server_group_spec.rb
fog-brightbox-1.0.0.rc2 spec/fog/compute/brightbox/server_group_spec.rb