Sha256: 2b686604321158561f232077705719835b0f99689c8fa6197c7adb41f46b68da
Contents?: true
Size: 735 Bytes
Versions: 1
Compression:
Stored size: 735 Bytes
Contents
require 'spec_helper' describe "Deploying an application that uses Node.js and NPM" do with_composer_mocked do |composer_mocked| with_npm_mocked do |npm_mocked| before(:all) do mock_composer if composer_mocked mock_npm if npm_mocked deploy_test_application('multi_dep_manager') end it "runs 'npm install' and 'composer install'" do npm_cmd = @deployer.commands.grep(/npm install/).first npm_cmd.should_not be_nil update_cmd = @deployer.commands.grep(/composer.*self-update/).first update_cmd.should_not be_nil composer_cmd = @deployer.commands.grep(/composer install/).first composer_cmd.should_not be_nil end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
engineyard-serverside-2.3.9 | spec/multi_dependency_manager_spec.rb |