Permalink
Browse files

[FIX] Fix up build failure in pear installer spec

  • Loading branch information...
1 parent 8e8a13b commit 69fcb6f39d9e0e0f2cb3d5926b2b3d36120ef0b2 @crafterm committed Nov 17, 2012
Showing with 1 addition and 6 deletions.
  1. +1 −6 spec/sprinkle/installers/pear_spec.rb
@@ -4,16 +4,11 @@
before do
@package = mock(Sprinkle::Package, :name => 'spec')
- end
-
- def create_rake(names, options = {}, &block)
- Sprinkle::Installers::Pear.new(@package, names, options, &block)
+ @installer = Sprinkle::Installers::Pear.new(@package, 'spec')
end
describe 'during installation' do
-
it 'should invoke the pear executer for all specified tasks' do
- @installer = create_pear 'spec'
@install_commands = @installer.send :install_commands
@install_commands.should == "pear install --alldeps spec"
end

0 comments on commit 69fcb6f

Please sign in to comment.