Sunday, November 6, 2011

How to add helper method to Cucumber's World

Add this line to any files under features/supports/ directory
World({any_module_names})
Module's name here can be a predefined Rails's helper or your application helper or a new helper which is just created here.

Then you can access method inside the module in all of your Cucumber's step definitions.

Credit: #51 Integration Tests With Cucumber

No comments:

Collectd PostgreSQL Plugin

I couldn't find this link when searching with google https://www.collectd.org/documentation/manpages/collectd.conf.html#plugin-postgresql