Sha256: 48c462c9fa6fc8f6620b446ac241ca0ec1e2f9a79d776a054f2491cbb3df7982
Contents?: true
Size: 747 Bytes
Versions: 44
Compression:
Stored size: 747 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 expect(npm_cmd).not_to be_nil update_cmd = @deployer.commands.grep(/composer.*self-update/).first expect(update_cmd).not_to be_nil composer_cmd = @deployer.commands.grep(/composer install/).first expect(composer_cmd).not_to be_nil end end end end
Version data entries
44 entries across 44 versions & 1 rubygems