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

Layla - Edges - MediaRanker Revisited #26

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

Conversation

lbristol88
Copy link

No description provided.

@@ -2,12 +2,21 @@ class ApplicationController < ActionController::Base
protect_from_forgery with: :exception

before_action :find_user
# before_action :require_login

Choose a reason for hiding this comment

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

I love the idea of requiring login as a controller filter, but you've commented this line out!

Remember, you can disable this filter for specific actions using skip_before_action.


it "can successfully log in with github as an existing merchant" do
# Arrange
# make sure that for some existing merchant, everything is configured!

Choose a reason for hiding this comment

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

What's a merchant?

@droberts-sea
Copy link

MediaRanker Revisted

What We're Looking For

Feature Feedback
General
Appropriate Tests on WorksController yes
Appropriate Tests on SessionsController yes
Appropriate Tests on UsersController yes
Completed OAuth yes
Basic Authorization (who can see what) no
Overall Good work overall. Make sure you review testing around authentication and authorization - this isn't something we'll cover further in class, but the concepts (especially mocking) are very useful in the real world.

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