Sha256: fbb5596de90f992f7b2e337af5de36d7156482dbfa10bae8046a4a6c8a82b76e
Contents?: true
Size: 580 Bytes
Versions: 8
Compression:
Stored size: 580 Bytes
Contents
require 'spec_helper' describe "ey web enable" do given "integration" def command_to_run(opts) cmd = "web enable" 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 disable_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