Sha256: d99aa20a018337bd722135aa5dfe45ed3787c8f53b18dbf99a98e792bf59706f
Contents?: true
Size: 688 Bytes
Versions: 15
Compression:
Stored size: 688 Bytes
Contents
require 'spec_helper' describe "ey web disable" do given "integration" def command_to_run(opts) cmd = %w[web disable] cmd << "-e" << opts[:environment] if opts[:environment] cmd << "-a" << opts[:app] if opts[:app] cmd << "-c" << opts[:account] if opts[:account] 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 and an app name and an account name" it_should_behave_like "it invokes engineyard-serverside" end
Version data entries
15 entries across 15 versions & 1 rubygems