Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[FIX] Fix up build failure in pear installer spec

  • Loading branch information...
commit 69fcb6f39d9e0e0f2cb3d5926b2b3d36120ef0b2 1 parent 8e8a13b
@crafterm authored
Showing with 1 addition and 6 deletions.
  1. +1 −6 spec/sprinkle/installers/pear_spec.rb
View
7 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
Please sign in to comment.
Something went wrong with that request. Please try again.