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.2.8 spec/shared_examples/flavors_examples.rb
fog-0.2.7 spec/shared_examples/flavors_examples.rb
fog-0.2.6 spec/shared_examples/flavors_examples.rb
fog-0.2.5 spec/shared_examples/flavors_examples.rb
fog-0.2.4 spec/shared_examples/flavors_examples.rb
fog-0.2.3 spec/shared_examples/flavors_examples.rb
fog-0.2.2 spec/shared_examples/flavors_examples.rb
fog-0.2.1 spec/shared_examples/flavors_examples.rb
fog-0.2.0 spec/shared_examples/flavors_examples.rb
fog-0.1.10 spec/shared_examples/flavors_examples.rb
fog-0.1.9 spec/shared_examples/flavors_examples.rb
fog-0.1.8 spec/shared_examples/flavors_examples.rb
fog-0.1.7 spec/shared_examples/flavors_examples.rb
fog-0.1.6 spec/shared_examples/flavors_examples.rb
fog-0.1.5 spec/shared_examples/flavors_examples.rb
fog-0.1.4 spec/shared_examples/flavors_examples.rb
fog-0.1.3 spec/shared_examples/flavors_examples.rb
fog-0.1.2 spec/shared_examples/flavors_examples.rb
fog-0.1.1 spec/shared_examples/flavors_examples.rb
fog-0.1.0 spec/shared_examples/flavors_examples.rb