Sha256: 977104ae167320a60248dcac2ea0d81f884572e11296fd8a05ef679fb7ef8f3b
Contents?: true
Size: 655 Bytes
Versions: 30
Compression:
Stored size: 655 Bytes
Contents
require 'spec_helper' describe "ey web restart" do given "integration" def command_to_run(opts) cmd = %w[web restart] 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.*restart.*--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
30 entries across 30 versions & 1 rubygems