Skip to content
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

Open
wants to merge 29 commits into
base: master
Choose a base branch
from

Conversation

kseastman
Copy link

No description provided.

user_id.must_equal user.id

post logout_path, params: {user_id: user_id}
user_id = session[:user_id]

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

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

@kariabancroft
Copy link

MediaRanker Revisted

What We're Looking For

Feature Feedback
General
Tests on WorksController Yes
Tests on SessionsController Yes
Tests on UsersController Yes
Completed OAuth Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants