Sha256: 45a1f1bfeae972565806f6bb57c546a6c7682b064e130cd2fb017cb64a67196b

Contents?: true

Size: 367 Bytes

Versions: 7

Compression:

Stored size: 367 Bytes

Contents

require File.dirname(__FILE__) + '/../../spec_helper'

include PoolParty::Resources

describe "Gem" do
  before(:each) do
    reset!
    @gem = gem(:name => "rails")
  end
  it "should have a package" do
    resource(:package).should_not be_empty
  end
  it "should have the 'rails' gem in the packages" do
    @gem.to_string.should =~ /Package\[rubygems\]/
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
auser-poolparty-0.2.3 spec/poolparty/pool/resources/gem_spec.rb
auser-poolparty-0.2.4 spec/poolparty/pool/resources/gem_spec.rb
auser-poolparty-0.2.5 spec/poolparty/pool/resources/gem_spec.rb
auser-poolparty-0.2.6 spec/poolparty/pool/resources/gem_spec.rb
auser-poolparty-0.2.8 spec/poolparty/pool/resources/gem_spec.rb
auser-poolparty-0.2.9 spec/poolparty/pool/resources/gem_spec.rb
poolparty-0.2.6 spec/poolparty/pool/resources/gem_spec.rb