Sha256: e1bf637d7f4bc8a53b781df28b640bbe90d5deb150fd043b87714845b8a4ad8e
Contents?: true
Size: 659 Bytes
Versions: 10
Compression:
Stored size: 659 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) expect(@ssh_commands).to 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
10 entries across 10 versions & 2 rubygems