Did you ever see following error? Especially with monban authentication gem?
Failure/Error: visit root_path Capybara::InfiniteRedirectError: redirected more than 5 times, check for infinite redirects.
Well it can easily happen when you use something like this in your application controller:
class ApplicationController < ActionController::Base include Monban::ControllerHelpers before_action :require_login ... end
I.e. you want to authenticate users for every action in your application.
This is the solution:
class SessionsController < ApplicationController skip_before_filter :require_login, only: [:new, :create] ... end