Merge branch 'CID-472_sync_autoscaling_groups' into qa

This commit is contained in:
Anton Chuchkalov 2016-04-20 15:47:29 +03:00
commit a37ddc9fb3
2 changed files with 4 additions and 3 deletions

View File

@ -122,7 +122,8 @@ module Devops
end
def skip_rollback?
launch_options['skip_rollback'] || false
result = launch_options['skip_rollback']
result.nil? ? true : result
end
class << self

View File

@ -79,8 +79,8 @@ RSpec.describe Devops::Model::StackEc2, type: :model do
expect(stack.skip_rollback?).to be true
end
it 'returns false by default' do
expect(described_class.new.skip_rollback?).to be false
it 'returns true by default' do
expect(described_class.new.skip_rollback?).to be true
end
end