Sha256: 0f7276d39dd6010cc186115df473f3ee65f24a4164f6a1f96023c7883e7ee243
Contents?: true
Size: 605 Bytes
Versions: 7
Compression:
Stored size: 605 Bytes
Contents
require 'spec_helper' describe "ey web disable" do given "integration" def command_to_run(opts) cmd = "web disable" cmd << " -e #{opts[:env]}" if opts[:env] cmd << " -a #{opts[:app]}" if opts[:app] cmd << " --verbose" if opts[:verbose] cmd end def verify_ran(scenario) @ssh_commands.should have_command_like(/engineyard-serverside.*deploy enable_maintenance_page.*--app #{scenario[:application]}/) end it_should_behave_like "it takes an environment name" it_should_behave_like "it takes an app name" it_should_behave_like "it invokes engineyard-serverside" end
Version data entries
7 entries across 7 versions & 1 rubygems