spec/support/spec_config.rb
# When we use external authentication, omit all of the users we normally
# create and authenticate with the external mechanism. This also ensures
# our various helpers work correctly when the only users available are
# the external ones.
When we use external authentication, omit all of the users we normally
create and authenticate with the external mechanism. This also ensures
our various helpers work correctly when the only users available are
the external ones.
When we use external authentication omit all of the users we normally create and authenticate with the external mechanism . This also ensures our various helpers work correctly when the only users available are the external ones .
def credentials_or_external_user(creds)
    if external_user?
      auth_options
    else
      creds
    end
  end
def credentials_or_external_user ( creds ) if external_user? auth_options else creds end end
When we use external authentication, omit all of the users we normally
create and authenticate with the external mechanism.
When we use external authentication omit all of the users we normally create and authenticate with the external mechanism .
creds