In order to demo your feature specs, follow these steps:
- Add capybara, poltergeist, launchy and selenium-webdriver to your Gemfile under test and development group.
- Add the attached demo helper to your spec/support.
- Add the capybara config to your spec_helper file.
- Run bundle install.
- Write your feature with its scenario specs.
- Put a demo filter on each scenario you want to demo. ( refer to the example below )
- Run bundle exec rspec spec.