spec/sprinkle/installers/thor_spec.rb in sprinkle-0.7.4 vs spec/sprinkle/installers/thor_spec.rb in sprinkle-0.7.5

- old
+ new

@@ -1,10 +1,10 @@ require File.expand_path("../../spec_helper", File.dirname(__FILE__)) describe Sprinkle::Installers::Thor do before do - @package = mock(Sprinkle::Package, :name => 'spec') + @package = double(Sprinkle::Package, :name => 'spec') end def create_thor(names, options = {}, &block) Sprinkle::Installers::Thor.new(@package, names, options, &block) end \ No newline at end of file