This repository has been archived by the owner on Jun 8, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Nick Quaranto <nick@quaran.to>
- Loading branch information
1 parent
4aeb4b3
commit d3f87e9
Showing
4 changed files
with
30 additions
and
28 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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,17 +1,19 @@ | |||
Feature: Manage collaborators | Feature: Manage collaborators | ||
Background: | |||
Given an account "thoughtbot" | |||
|
|
||
Scenario: Adding a single collaborator for a specific project | Scenario: Adding a single collaborator for a specific project | ||
Given the following collaborators for "shoulda" | Given the following collaborators for "shoulda" | ||
|name | | |name | | ||
|thoughtbot| | |thoughtbot| | ||
Given I am adding "rmmt" as a collaborator to "shoulda" | Given I am adding "rmmt" as a collaborator to "shoulda" | ||
""" | """ | ||
Enforcer "thoughtbot" do | Enforcer "thoughtbot" do | ||
project "shoulda" do | project "shoulda" do | ||
collaborators 'rmmt' | collaborators 'rmmt' | ||
end | end | ||
end | end | ||
""" | """ | ||
When I execute it | When I execute it | ||
Then the GitHub API should have received a request to add a "rmmt" as a collaborator for "shoulda" | Then the GitHub API should have received a request to add a "rmmt" as a collaborator for "shoulda" | ||
|
|
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
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