Sha256: 9bdcd35ea5b9d2765d516a1fd313640d2ee89497d687de6556e8009267c29d0e

Contents?: true

Size: 440 Bytes

Versions: 3

Compression:

Stored size: 440 Bytes

Contents

module.exports = function() {
  this.Given(/^a passing pre-condition$/, function(callback) {
    if (this.isDryRun()) { return callback(); }

    callback();
  });

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

    callback();
  });

  this.Then(/^a post-condition passes$/, function(callback) {
    if (this.isDryRun()) { return callback(); }

    callback();
  });
};

Version data entries

3 entries across 3 versions & 1 rubygems

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