Sha256: 23db5bb39611bc6922b76c8e20a21be17dce2eef9b45b7b512d85d0aacb5c6e5

Contents?: true

Size: 359 Bytes

Versions: 3

Compression:

Stored size: 359 Bytes

Contents

require 'spec_helper'

describe Bueller::Commands::InstallGem do

  it "should call sh with gem install" do
    bueller = Bueller.new FileSystem.fixture_path('existing-project')
    command = Bueller::Commands::InstallGem.new bueller
    command.should_receive(:sh).with /bundle exec gem install .*\/pkg\/existing-project-1.5.3.gem/
    command.run
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bueller-0.0.3 spec/bueller/commands/install_gem_spec.rb
bueller-0.0.2 spec/bueller/commands/install_gem_spec.rb
bueller-0.0.1 spec/bueller/commands/install_gem_spec.rb