Sha256: cdbc87c9cac21d0d3368b4a8260016eb19d0d6ecebe9f80e6db57823b8336325
Contents?: true
Size: 750 Bytes
Versions: 3
Compression:
Stored size: 750 Bytes
Contents
<%- unless ModelBase.config.frozen_string_literal.nil? -%> # frozen_string_literal: <%= ModelBase.config.frozen_string_literal.inspect %> <%- end -%> # https://github.com/plataformatec/devise/wiki/How-To:-Test-controllers-with-Rails-3-and-4-(and-RSpec) RSpec.configure do |config| [:controller, :view].each do |t| config.with_options(type: t) do |c| c.include Devise::Test::ControllerHelpers c.include ControllerMacros c.extend ControllerMacros end 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
3 entries across 3 versions & 1 rubygems