Sha256: 79269bacf66330870ce28a4a64e0bd371b656397a6678c0c4f126db9e8b6cc7f
Contents?: true
Size: 493 Bytes
Versions: 15
Compression:
Stored size: 493 Bytes
Contents
require File.expand_path("../../spec_helper", File.dirname(__FILE__)) describe Sprinkle::Installers::Npm do before do @package = mock(Sprinkle::Package, :name => 'spec') @installer = Sprinkle::Installers::Npm.new(@package, 'spec') end describe 'during installation' do it 'should invoke the npm executer for all specified tasks' do @install_commands = @installer.send :install_commands @install_commands.should == "npm install --global spec" end end end
Version data entries
15 entries across 15 versions & 1 rubygems