Sha256: 1deff7ef9a5b47003f6bc6d46d9af5b18e081c634c8e5d7f5db32fdecd94767c

Contents?: true

Size: 498 Bytes

Versions: 15

Compression:

Stored size: 498 Bytes

Contents

require File.expand_path("../../spec_helper", File.dirname(__FILE__))

describe Sprinkle::Installers::Pear do

  before do
    @package = mock(Sprinkle::Package, :name => 'spec')
    @installer = Sprinkle::Installers::Pear.new(@package, 'spec')
  end

  describe 'during installation' do
    it 'should invoke the pear executer for all specified tasks' do
      @install_commands = @installer.send :install_commands
      @install_commands.should == "pear install --alldeps spec"
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
sprinkle-0.7.4 spec/sprinkle/installers/pear_spec.rb
sprinkle-0.7.3 spec/sprinkle/installers/pear_spec.rb
sprinkle-0.7.2 spec/sprinkle/installers/pear_spec.rb
sprinkle-0.7.1.1 spec/sprinkle/installers/pear_spec.rb
sprinkle-0.7.1 spec/sprinkle/installers/pear_spec.rb
sprinkle-0.7 spec/sprinkle/installers/pear_spec.rb
sprinkle-0.6.2 spec/sprinkle/installers/pear_spec.rb
sprinkle-0.6.1.1 spec/sprinkle/installers/pear_spec.rb
sprinkle-0.6.1 spec/sprinkle/installers/pear_spec.rb
sprinkle-0.6.0 spec/sprinkle/installers/pear_spec.rb
sprinkle-0.5.2 spec/sprinkle/installers/pear_spec.rb
sprinkle-0.5.1.1 spec/sprinkle/installers/pear_spec.rb
sprinkle-0.5.1 spec/sprinkle/installers/pear_spec.rb
sprinkle-0.5.0 spec/sprinkle/installers/pear_spec.rb
sprinkle-0.5.0.rc1 spec/sprinkle/installers/pear_spec.rb