Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 2fc6473e4d
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (20 sloc) 0.572 kB
module RSpec::Rails
module RequestExampleGroup
extend ActiveSupport::Concern
include RSpec::Rails::RailsExampleGroup
include ActionDispatch::Integration::Runner
include ActionDispatch::Assertions
include RSpec::Rails::Matchers::RedirectTo
include RSpec::Rails::Matchers::RenderTemplate
include ActionController::TemplateAssertions
def app
RSpec.configuration.application
end
included do
metadata[:type] = :request
before do
@routes = RSpec.configuration.application.routes
end
end
end
end
Jump to Line
Something went wrong with that request. Please try again.