Module: RSpec::Rails::FeatureExampleGroup

Extended by:
ActiveSupport::Concern
Includes:
RailsExampleGroup
Defined in:
lib/rspec/rails/example/feature_example_group.rb

Constant Summary

DEFAULT_HOST =
"www.example.com"

Instance Method Summary (collapse)

Methods included from Matchers

#be_a_new, #be_new_record, #be_valid

Methods included from MinitestLifecycleAdapter

#after_setup, #after_teardown, #before_setup, #before_teardown

Methods included from SetupAndTeardownAdapter

#method_name

Instance Method Details

- (Object) visit

22
23
24
25
26
27
28
# File 'lib/rspec/rails/example/feature_example_group.rb', line 22
def visit(*)
  if defined?(super)
    super
  else
    raise "Capybara not loaded, please add it to your Gemfile:\n\ngem \"capybara\""
  end
end