Sha256: 5e621ec3a32f746976c496cdce406768d1c2f36240c0c0aeb832e9e6ff4764b9

Contents?: true

Size: 370 Bytes

Versions: 2

Compression:

Stored size: 370 Bytes

Contents

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

describe "GemList" do
  include GemList

  it "should give a list of all the gems installed locally" do
  	list.length.should > 0
  end

  it "should be able to check if a gem is installed locally or not" do
  	isInstalled("rspec").should be true
    isInstalled("iDontExist").should be false
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gem-list-0.2.0 spec/gem-list_spec.rb
gem-list-0.1.0 spec/gem-list_spec.rb