Sha256: ef72e034a621f0c0974ab1a2b997b393df53bee4e2855a5e8f989f637e1aac5e

Contents?: true

Size: 454 Bytes

Versions: 23

Compression:

Stored size: 454 Bytes

Contents

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

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

  subject { service.events.new }

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

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