baarkerlounger
3 years ago
1 changed files with 0 additions and 3 deletions
@ -1,9 +1,6 @@ |
|||||||
require_relative "./controller_macros" |
require_relative "./controller_macros" |
||||||
|
|
||||||
RSpec.configure do |config| |
RSpec.configure do |config| |
||||||
# For Devise > 4.1.1 |
|
||||||
config.include Devise::Test::ControllerHelpers, type: :controller |
config.include Devise::Test::ControllerHelpers, type: :controller |
||||||
# Use the following instead if you are on Devise <= 4.1.1 |
|
||||||
# config.include Devise::TestHelpers, :type => :controller |
|
||||||
config.extend ControllerMacros, type: :controller |
config.extend ControllerMacros, type: :controller |
||||||
end |
end |
||||||
|
Loading…
Reference in new issue