diff --git a/features/autoscaling/autoscaling.feature b/features/autoscaling/autoscaling.feature deleted file mode 100644 index 6501d9efb8..0000000000 --- a/features/autoscaling/autoscaling.feature +++ /dev/null @@ -1,30 +0,0 @@ -# language: en -@autoscaling -Feature: Auto Scaling - - I want to use Auto Scaling - - Scenario: Managing auto scaling groups - Given I create a launch configuration with name "launch-config-integ" - And I describe launch configurations - Then the list should contain the launch configuration "launch-config-integ" - And I delete the launch configuration "launch-config-integ" - - @pagination - Scenario: Paginating responses - Given I create a launch configuration with name "launch-config-integ-1" - And I create a launch configuration with name "launch-config-integ-2" - And I paginate the "describeLaunchConfigurations" operation with limit 1 - Then I should get more than one page - And I should get numPages - 1 markers - And the last page should not contain a marker - And I delete the launch configuration "launch-config-integ-1" - And I delete the launch configuration "launch-config-integ-2" - - Scenario: Error handling - Given I create a launch configuration with name "" - Then the error code should be "ValidationError" - And the error message should contain: - """ - Member must have length greater than or equal to 1 - """ diff --git a/features/autoscaling/step_definitions/autoscaling.js b/features/autoscaling/step_definitions/autoscaling.js deleted file mode 100644 index 8f35406d70..0000000000 --- a/features/autoscaling/step_definitions/autoscaling.js +++ /dev/null @@ -1,31 +0,0 @@ -module.exports = function() { - this.Before('@autoscaling', function (callback) { - this.service = new this.AWS.AutoScaling(); - callback(); - }); - - this.Given(/^I create a launch configuration with name "([^"]*)"$/, function(name, callback) { - var params = { - ImageId: 'ami-1624987f', - InstanceType: 'm1.small', - LaunchConfigurationName: name - }; - this.request(null, 'createLaunchConfiguration', params, callback, false); - }); - - this.Given(/^I describe launch configurations$/, function(callback) { - this.request(null, 'describeLaunchConfigurations', {}, callback); - }); - - this.Then(/^the list should contain the launch configuration "([^"]*)"$/, function(name, callback) { - this.assert.contains(this.data.LaunchConfigurations, function(configuration) { - return configuration.LaunchConfigurationName === name; - }); - callback(); - }); - - this.Then(/^I delete the launch configuration "([^"]*)"$/, function(name, callback) { - var params = {LaunchConfigurationName: name}; - this.request(null, 'deleteLaunchConfiguration', params, callback); - }); -};