Add feature spec examples

With both logged in normal user and admin
This commit is contained in:
2020-11-18 10:10:31 +01:00
parent 3030d6f0f3
commit 1734b5c700
4 changed files with 31 additions and 0 deletions

View File

@@ -67,6 +67,7 @@ RSpec.configure do |config|
# config.filter_gems_from_backtrace("gem name")
config.include Devise::Test::ControllerHelpers, :type => :controller
config.include Warden::Test::Helpers
config.include FactoryBot::Syntax::Methods
config.extend ControllerMacros, :type => :controller
end