-
Notifications
You must be signed in to change notification settings - Fork 0
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
Testing/attendes #29
Testing/attendes #29
Conversation
@@ -21,7 +21,7 @@ def destroy | |||
end | |||
|
|||
def index | |||
attendees = Attendee.where(event_id: params[:event_id]) | |||
attendees = Attendee.all |
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.
this might create a conflict with how the attendees for an event is being accessed
we are trying to get an index of a specific event so we were using the event_id param to search for it |
ohh okay ill work on that now and try to fix that |
It is now fixed |
Type of Change
Describe Changes Made
Testing for the attendees and now 100% passing in simple cov. Also refactored a little bit of the index action
PR Checklist