Example for the gem Domino
Here, I defined them in lib/dominos.rb
- In features/support/domino.rb I require "dominos"
- See features/index.feature and features/step_definitions/index_steps.rb
- In test/test_helper.rb I require dominos and setup capybara for integration testing
- In test/integration/index_test.rb I use Domino to check the page.