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

Danielle - MediaRanker-Revisited #24

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

Conversation

danimetz
Copy link

No description provided.

@CheezItMan
Copy link

MediaRanker Revisted

What We're Looking For

Feature Feedback
General
Appropriate Tests on WorksController Check, nicely done
Appropriate Tests on SessionsController Check
Appropriate Tests on UsersController Check
Completed OAuth Check
Overall Well done, you hit all the learning goals. Great work!

expect {
perform_login(user)
}.wont_change 'User.count'

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could also test a flash notice here.


it "creates a new user and redirects to root path" do
user = users(:ada)
user.destroy

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You also need to destroy the user's vote first, before destroying the user.

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