Sha256: 62017879f6b27c7013d4c2f28f65429b89b50869301500b4f2580f571ffa6df7
Contents?: true
Size: 581 Bytes
Versions: 8
Compression:
Stored size: 581 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(/ey-deploy.*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 ey-deploy" end
Version data entries
8 entries across 8 versions & 1 rubygems