Top Level Namespace

Defined Under Namespace

Class Method Details

.feature(*args, &block) ⇒ Object

33
34
35
36
37
38
39
40
41
42

# File 'lib/capybara/rspec/features.rb', line 33defself.feature(*args,&block)options=ifargs.last.is_a?(Hash)thenargs.popelse{}endoptions[:capybara_feature]=trueoptions[:type]=:featureoptions[:caller]||=callerargs.push(options)#call describe on RSpec in case user has expose_dsl_globally set to false
RSpec.describe(*args,&block)end