module RSpec::Rails::SystemExampleGroup
def app
def app ::Rails.application end
def driven_by(*args, &blk)
def driven_by(*args, &blk) @driver = ::ActionDispatch::SystemTestCase.driven_by(*args, &blk).tap(&:use) end
def initialize(*args, &blk)
def initialize(*args, &blk) super(*args, &blk) @driver = nil end
def method_name
- Private: -
def method_name @method_name ||= [ self.class.name.underscore, RSpec.current_example.description.underscore, rand(1000) ].join("_").gsub(/[\/\.:, ]/, "_") end
def passed?
def passed? RSpec.current_example.exception.nil? end