Sha256: 9c6874891187e260bdca69f9c21e89a37ddb8d823ba7d2a16d882af069c1d432
Contents?: true
Size: 495 Bytes
Versions: 5
Compression:
Stored size: 495 Bytes
Contents
require File.expand_path("../../spec_helper", File.dirname(__FILE__)) describe Sprinkle::Installers::Npm do before do @package = double(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
5 entries across 5 versions & 1 rubygems