Module: Capybara::Experience::BehaviorDSL
- Defined in:
- lib/capybara/experience/rspec.rb
Instance Method Summary collapse
Instance Method Details
#behavior(name) ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/capybara/experience/rspec.rb', line 6 def behavior(name) [:description_args].push(name) refresh_description unless in_continuous_integration_env? yield [:description_args].pop refresh_description unless in_continuous_integration_env? end |