module.exports = function() {
  this.Before("@cloudtrail", function (callback) {
    this.service = new this.AWS.CloudTrail();
    callback();
  });

  this.Given(/^I describe trails$/, function(callback) {
    this.request(null, 'describeTrails', {}, callback);
  });

  this.Given(/^I create a trail with an invalid name$/, function(callback) {
    this.request(null, 'createTrail', {trail: {Name: ''}}, callback, false);
  });
};
