vendor/cache/ruby/2.3.0/gems/warden-github-rails-1.3.0/lib/warden/github/rails/test_helpers.rb
# Login a mock GitHub user and return it.
Login a mock GitHub user and return it.
Login a mock GitHub user and return it .
def github_login(scope=Rails.default_scope)
          MockUser.new.tap do |user|
            login_as(user, scope: scope)
          end
        end
def github_login ( scope = Rails . default_scope ) MockUser . new . tap do | user | login_as ( user , scope : scope ) end end
Login a mock GitHub user and return it.
Login a mock GitHub user and return it .
scope
<not_specific>
default_scope
<not_specific>