-
Notifications
You must be signed in to change notification settings - Fork 19
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
Allow alerts to be posted to a different Slack channel #570
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,11 +11,11 @@ | |
let(:uri) { URI("https://docs.publishing.service.gov.uk/repos.json") } | ||
|
||
let(:repos) do | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It would be good to have some tests for a scenario when "team" is not the same as "alerts_team". There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't think we need any tests here, since govuk-developer-docs will always return a value for |
||
[{ "app_name" => "Brazil", "team" => "#govuk-jaguars" }, | ||
{ "app_name" => "rainforest", "team" => "#govuk-wildcats-team" }, | ||
{ "app_name" => "savanna", "team" => "#govuk-wildcats-team" }, | ||
{ "app_name" => "grassland", "team" => "#govuk-wildcats-team" }, | ||
{ "app_name" => "generic-repo", "team" => "govuk-generic-team" }] | ||
[{ "app_name" => "Brazil", "alerts_team" => "#govuk-jaguars" }, | ||
{ "app_name" => "rainforest", "alerts_team" => "#govuk-wildcats-team" }, | ||
{ "app_name" => "savanna", "alerts_team" => "#govuk-wildcats-team" }, | ||
{ "app_name" => "grassland", "alerts_team" => "#govuk-wildcats-team" }, | ||
{ "app_name" => "generic-repo", "alerts_team" => "govuk-generic-team" }] | ||
end | ||
|
||
before 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.
Do we need to update the
is_govuk_team?
for consistency? 🤔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.
Yes, I think we do. I've updated that in #571.