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
12 13 14 15 16 17 18 19 20 |
# File 'lib/capybara/rspec/features.rb', line 12 def self.feature(*args, &block) = if args.last.is_a?(Hash) then args.pop else {} end [:capybara_feature] = true [:type] = :request [:caller] ||= caller args.push() describe(*args, &block) end |