Top Level Namespace
- Includes:
- Capybara::Features
Defined Under Namespace
Modules: Capybara Classes: TestApp
Class Method Summary collapse
Methods included from Capybara::Features
Class Method Details
.feature(*args, &block) ⇒ Object
35 36 37 38 39 40 41 42 43 44 |
# File 'lib/capybara/rspec/features.rb', line 35 def self.feature(*args, &block) = if args.last.is_a?(Hash) then args.pop else {} end [:capybara_feature] = true [:type] = :feature [:caller] ||= caller args.push() #call describe on RSpec in case user has expose_dsl_globally set to false RSpec.describe(*args, &block) end |