Skip to content
This repository has been archived by the owner on Jan 3, 2025. It is now read-only.

Updated get_registrations and post_attendee tests #133

Merged
merged 74 commits into from
Oct 6, 2023
Merged

Conversation

dunkOnIT
Copy link
Collaborator

@dunkOnIT dunkOnIT commented Aug 1, 2023

Outstanding items:

  • Swaggerize output and check Swagger UI (help required on accessing the UI)
  • Discuss merging tests with a FAILING flag
  • Review diff

@dunkOnIT
Copy link
Collaborator Author

dunkOnIT commented Oct 3, 2023

  • Move REGISTRATION_STATUS to model
  • Move competition errors to registration errors

Research:

  • Research filter/map functions
  • Output logs to file?

@dunkOnIT
Copy link
Collaborator Author

dunkOnIT commented Oct 3, 2023

  • Get all tests passing with current code state
  • Set up a pre-commit hook to run rubocop
  • Run rubocop
  • Remove allow_net_connect and check if tests run

app/controllers/application_controller.rb Outdated Show resolved Hide resolved
app/controllers/registration_controller.rb Show resolved Hide resolved
config/environments/development.rb Outdated Show resolved Hide resolved
app/helpers/competition_api.rb Outdated Show resolved Hide resolved
app/helpers/competition_api.rb Outdated Show resolved Hide resolved
end

if competition_info[:error] == false
competition_info[:competition_exists?] = true
Copy link
Member

Choose a reason for hiding this comment

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

reconsider if we need these two booleans

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think it makes sense to leave them in and then refactor the competition_api.rb once the PR is merged, as discussed.

@dunkOnIT
Copy link
Collaborator Author

dunkOnIT commented Oct 4, 2023

@FinnIckler ready for final review!

@dunkOnIT dunkOnIT merged commit c0abc91 into main Oct 6, 2023
1 check passed
@dunkOnIT dunkOnIT deleted the rswag-testing branch October 6, 2023 08:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants