spec/aerosol/launch_configuration_spec.rb in aerosol-1.9.2 vs spec/aerosol/launch_configuration_spec.rb in aerosol-1.10.0

- old
+ new

@@ -240,11 +240,11 @@ instance_type: 'm3.large', created_time: Time.at(1) }], next_token: nil }) - subject.exists?(instance.launch_configuration_name).should be_true + subject.exists?(instance.launch_configuration_name).should be true end end context 'when the argument does not exist' do let(:instance) { described_class.new! } @@ -252,11 +252,11 @@ it 'returns false' do Aerosol::AWS.auto_scaling.stub_responses(:describe_launch_configurations, { launch_configurations: [], next_token: nil }) - subject.exists?(instance.launch_configuration_name).should be_false + subject.exists?(instance.launch_configuration_name).should be false end end end describe '.request_all' do @@ -308,10 +308,12 @@ before do Aerosol::AWS.auto_scaling.stub_responses(:describe_launch_configurations, [ { launch_configurations: [], next_token: nil } ]) end - its(:all) { should be_empty } + it "is empty" do + expect(subject.all).to be_empty + end end context 'when there are launch configurations' do let(:insts) { [