Sha256: 2cb16de32b0c896be66e1603a40ed374e429d94b7fc0cdd16bcbaa5e346fc73a
Contents?: true
Size: 936 Bytes
Versions: 51
Compression:
Stored size: 936 Bytes
Contents
require 'spec_helper' describe EY::Serverside::Adapter::DisableMaintenancePage do it_should_behave_like "it installs engineyard-serverside" it_should_behave_like "it accepts app" it_should_behave_like "it accepts instances" it_should_behave_like "it accepts verbose" it_should_require :app it_should_require :instances context "with valid arguments" do let(:command) do adapter = described_class.new do |arguments| arguments.app = "rackapp" arguments.instances = [{:hostname => 'localhost', :roles => %w[han solo], :name => 'chewie'}] end last_command(adapter) end it "invokes exactly the right command" do command.should == "engineyard-serverside _#{EY::Serverside::Adapter::ENGINEYARD_SERVERSIDE_VERSION}_ deploy disable_maintenance_page --app rackapp --instance-names localhost:chewie --instance-roles localhost:han,solo --instances localhost" end end end
Version data entries
51 entries across 51 versions & 1 rubygems