-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This updates the onboarding task and example template to allow providing a `reply_to_id` for each team.
- Loading branch information
1 parent
277157f
commit 72094b1
Showing
3 changed files
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ teams: | |
name: Team 1 | ||
email: [email protected] | ||
phone: 07700 900816 | ||
reply_to_id: 24af66c3-d6bd-4b9f-8067-3844f49e08d0 | ||
team_2: | ||
name: Team 2 | ||
email: [email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,10 +31,12 @@ | |
team1 = organisation.teams.find_by!(name: "Team 1") | ||
expect(team1.email).to eq("[email protected]") | ||
expect(team1.phone).to eq("07700 900816") | ||
expect(team1.reply_to_id).to eq("24af66c3-d6bd-4b9f-8067-3844f49e08d0") | ||
|
||
team2 = organisation.teams.find_by!(name: "Team 2") | ||
expect(team2.email).to eq("[email protected]") | ||
expect(team2.phone).to eq("07700 900817") | ||
expect(team2.reply_to_id).to be_nil | ||
|
||
expect(team1.schools).to contain_exactly(school1, school2) | ||
expect(team2.schools).to contain_exactly(school3, school4) | ||
|