Sha256: b11a47808305b9f3142108043749fa5b0dc3ba0bc05364d9a6b4735f225cf10d

Contents?: true

Size: 179 Bytes

Versions: 3

Compression:

Stored size: 179 Bytes

Contents

module.exports = function() {
  this.When(/^a failing action is executed$/, function(callback) {
    if (this.isDryRun()) { return callback(); }

    callback('Failed');
  });
};

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sensu-plugins-cucumber-1.0.0 bin/cucumber-example/features/step_definitions/failing.js
sensu-plugins-cucumber-0.0.1 bin/cucumber-example/features/step_definitions/failing.js
sensu-plugins-cucumber-0.0.1.alpha.1 bin/cucumber-example/features/step_definitions/failing.js