-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kat -- MediaRanker-Revisited -- Octos #21
base: master
Are you sure you want to change the base?
Conversation
user_id.must_equal user.id | ||
|
||
post logout_path, params: {user_id: user_id} | ||
user_id = session[:user_id] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checking the session in this test is fine - but I'd like to see you also testing the controller as far as far what the response status is and where it goes after this request completes
# Attempt to create a new user | ||
user = User.build_from_github(auth_hash) | ||
unless user.id | ||
raise |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm I don't think you want your production code to have a raise in it
MediaRanker RevistedWhat We're Looking For
|
No description provided.