MadeTech Dushan
3 years ago
7 changed files with 30 additions and 23 deletions
@ -1,9 +1,9 @@ |
|||||||
require_relative './controller_macros' |
require_relative "./controller_macros" |
||||||
|
|
||||||
RSpec.configure do |config| |
RSpec.configure do |config| |
||||||
# For Devise > 4.1.1 |
# 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 |
# Use the following instead if you are on Devise <= 4.1.1 |
||||||
# config.include Devise::TestHelpers, :type => :controller |
# config.include Devise::TestHelpers, :type => :controller |
||||||
config.extend ControllerMacros, :type => :controller |
config.extend ControllerMacros, type: :controller |
||||||
end |
end |
||||||
|
Loading…
Reference in new issue