Sha256: b6ecb05ef52e90594da6af05c10e46578ac4a391e03d3b7c06318cf34acb493c
Contents?: true
Size: 670 Bytes
Versions: 10
Compression:
Stored size: 670 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) expect(@ssh_commands).to have_command_like(/engineyard-serverside.*enable_maintenance.*--app #{scenario[:application]}/) end include_examples "it takes an environment name and an app name and an account name" include_examples "it invokes engineyard-serverside" end
Version data entries
10 entries across 10 versions & 2 rubygems