Sha256: 19ad28d58dc0b3ce6e6f0a7e4d3f95f1946b3b20628c0f1c03538b40e8d85219

Contents?: true

Size: 557 Bytes

Versions: 8

Compression:

Stored size: 557 Bytes

Contents

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

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

  subject { service.database_servers.new }

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

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fog-brightbox-0.6.1 spec/fog/compute/brightbox/database_server_spec.rb
fog-brightbox-0.6.0 spec/fog/compute/brightbox/database_server_spec.rb
fog-brightbox-0.5.1 spec/fog/compute/brightbox/database_server_spec.rb
fog-brightbox-0.5.0 spec/fog/compute/brightbox/database_server_spec.rb
fog-brightbox-0.4.1 spec/fog/compute/brightbox/database_server_spec.rb
fog-brightbox-0.4.0 spec/fog/compute/brightbox/database_server_spec.rb
fog-brightbox-0.3.0 spec/fog/compute/brightbox/database_server_spec.rb
fog-brightbox-0.2.0 spec/fog/compute/brightbox/database_server_spec.rb