Sha256: 1671421146814ce8e9db6c63c6c2dbaf40ca255e9eadbdaffe89f6c3b475c099
Contents?: true
Size: 490 Bytes
Versions: 11
Compression:
Stored size: 490 Bytes
Contents
require "action_dispatch" require "capybara/rails" require "capybara/dsl" module ActiveAdminRequestHelpers extend ActiveSupport::Concern include ActionDispatch::Integration::Runner include RSpec::Rails::TestUnitAssertionAdapter include ActionDispatch::Assertions include Capybara::DSL include RSpec::Matchers def app ::Rails.application end def last_response page end included do before do @router = ::Rails.application.routes end end end
Version data entries
11 entries across 11 versions & 3 rubygems