Sha256: c35605a091eb6c3670ed4867598842f7f857fce4a3b0e19b0f739a9e6da2be82

Contents?: true

Size: 327 Bytes

Versions: 117

Compression:

Stored size: 327 Bytes

Contents

shared_examples_for "Flavors" do

  describe "#get" do

    it "should return a matching flavor if one exists" do
      get = @flavors.get(subject.id)
      subject.attributes.should == get.attributes
    end

    it "should return nil if no matching server exists" do
      @flavors.get('0').should be_nil
    end

  end

end

Version data entries

117 entries across 117 versions & 2 rubygems

Version Path
fog-0.3.17 spec/shared_examples/flavors_examples.rb
fog-0.3.16 spec/shared_examples/flavors_examples.rb
fog-0.3.15 spec/shared_examples/flavors_examples.rb
fog-0.3.14 spec/shared_examples/flavors_examples.rb
fog-0.3.13 spec/shared_examples/flavors_examples.rb
fog-0.3.12 spec/shared_examples/flavors_examples.rb
fog-0.3.11 spec/shared_examples/flavors_examples.rb
fog-0.3.10 spec/shared_examples/flavors_examples.rb
fog-0.3.9 spec/shared_examples/flavors_examples.rb
fog-0.3.8 spec/shared_examples/flavors_examples.rb
fog-0.3.7 spec/shared_examples/flavors_examples.rb
fog-0.3.6 spec/shared_examples/flavors_examples.rb
fog-0.3.5 spec/shared_examples/flavors_examples.rb
fog-0.3.4 spec/shared_examples/flavors_examples.rb
fog-0.3.3 spec/shared_examples/flavors_examples.rb
fog-0.3.2 spec/shared_examples/flavors_examples.rb
fog-0.3.1 spec/shared_examples/flavors_examples.rb
fog-0.3.0 spec/shared_examples/flavors_examples.rb
fog-0.2.30 spec/shared_examples/flavors_examples.rb
fog-0.2.28 spec/shared_examples/flavors_examples.rb