Sha256: dbd5bf56cf31dae6949507cc130d9c58b2b67f5d66dabe2829c7b7d530c55f40

Contents?: true

Size: 500 Bytes

Versions: 5

Compression:

Stored size: 500 Bytes

Contents

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

describe Sprinkle::Installers::Pear do

  before do
    @package = double(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

5 entries across 5 versions & 1 rubygems

Version Path
sprinkle-0.7.7 spec/sprinkle/installers/pear_spec.rb
sprinkle-0.7.6.2 spec/sprinkle/installers/pear_spec.rb
sprinkle-0.7.6.1 spec/sprinkle/installers/pear_spec.rb
sprinkle-0.7.6 spec/sprinkle/installers/pear_spec.rb
sprinkle-0.7.5 spec/sprinkle/installers/pear_spec.rb