-
Notifications
You must be signed in to change notification settings - Fork 27
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
[OSU-114] Setup sanger enabled service #4925
base: master
Are you sure you want to change the base?
Conversation
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.
Left a few comments/questions
if sanger_external_service.blank? | ||
Service.transaction do | ||
external_service = UrlService.find_or_create_by( | ||
location: new_sanger_sequencing_submission_path |
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.
While this should still work, I think it's better to use the url
, so the users see the complete URL (including domain)
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.
Yeap this work. The only reason I can think of for having the domain for internal routes is end users being accustomed to see it. I'll change it anyway
config/locales/en.controllers.yml
Outdated
sanger_sequencing_enabled: Sanger has been enabled, make sure the Order Form is inactive | ||
sanger_sequencing_disabled: Sanger has been disabled, make sure the Order Form is active |
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.
nit: should we add the period at the end of the messages?
@@ -62,4 +62,34 @@ | |||
context "when billing mode is Skip Review" do | |||
include_examples "creates a product with billing mode", "service", "Skip Review" | |||
end | |||
|
|||
context "when sanger enable si checked" do |
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.
typo: si -> is
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.
LGTM, thanks for the changes!
Notes
sanger_sequencing_enabled
to productScreenshots