Sha256: c2ce09df5e7b6a38ce1c8e05085d1e0825396b05d08a5b19335051187d255c5a
Contents?: true
Size: 589 Bytes
Versions: 4
Compression:
Stored size: 589 Bytes
Contents
# frozen_string_literal: true # https://github.com/plataformatec/devise/wiki/How-To:-Test-controllers-with-Rails-3-and-4-(and-RSpec) RSpec.configure do |config| config.with_options(type: :controller) do |c| c.include Devise::Test::ControllerHelpers c.include ControllerMacros c.extend ControllerMacros end # For request spec # https://github.com/plataformatec/devise/wiki/How-To:-Test-with-Capybara # http://qiita.com/gakkie/items/40e5678af7b63afc14df config.include Warden::Test::Helpers, type: :request config.before :suite do Warden.test_mode! end end
Version data entries
4 entries across 4 versions & 1 rubygems