-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved Cucumber tests and used WireMock (#23)
no-issue I've added wiremock here as a starting point for allowing us to mock network requests The cucumber steps have been updated to try and be a little more fluent and reusable.
- Loading branch information
Showing
6 changed files
with
338 additions
and
121 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Feature: We automatically accept Follow requests | ||
|
||
Scenario: We can be followed | ||
Given an Actor "Alice" | ||
Given a "Follow(Us)" Activity "F" by "Alice" | ||
When "Alice" sends "F" to the Inbox | ||
Then an "Accept(F)" Activity "A" is created by "Us" | ||
And Activity "A" is sent to "Alice" | ||
And "Alice" is in our Followers |
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
Oops, something went wrong.