Skip to content

Commit

Permalink
Merge pull request #34 from chocolateboy/patch-1
Browse files Browse the repository at this point in the history
Fix doc typo
  • Loading branch information
iridakos authored May 4, 2018
2 parents 0bc24a1 + b0eb2c8 commit 00a5aa1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ The repository's [wiki pages](https://github.com/iridakos/duckrails/wiki) contai
* [Creating mocks](https://github.com/iridakos/duckrails/wiki/Creating-mocks)
* [Route paths with variables](https://github.com/iridakos/duckrails/wiki/Route-paths-with-variables)
* [Static mock](https://github.com/iridakos/duckrails/wiki/Creating-a-simple-static-mock)
* [Dynamic mock with embedded ruby](https://github.com/iridakos/duckrails/wiki/Creating-a-dynamic-mock-with-embedded-ruby)
* [Dynamic mock with javascript](https://github.com/iridakos/duckrails/wiki/Creating-a-dynamic-mock-with-Javascript)
* [Dynamic mock with embedded Ruby](https://github.com/iridakos/duckrails/wiki/Creating-a-dynamic-mock-with-embedded-ruby)
* [Dynamic mock with JavaScript](https://github.com/iridakos/duckrails/wiki/Creating-a-dynamic-mock-with-Javascript)
* [Mock wrapping an existing API call](https://github.com/iridakos/duckrails/wiki/Creating-a-dynamic-mock-that-wraps-an-existing-API-call)
* [Advanced mock (WIP)](https://github.com/iridakos/duckrails/wiki/Creating-an-advanced-mock)

Expand Down Expand Up @@ -76,20 +76,20 @@ You can define static or dynamic responses for a mock.

Currently supported dynamic types are:

- Embedded ruby
- Javascript
- Embedded Ruby
- JavaScript

### Embedded ruby
### Embedded Ruby

When specifying dynamic content of embedded ruby (more options to be added), you can read as local variables:
When specifying dynamic content of embedded Ruby (more options to be added), you can read as local variables:

- `@parameters`: The parameters of the request
- `@request`: The request
- `@response`: The response

### Javascript
### JavaScript

When specifying dynamic content of javascript type, you can read as local variables:
When specifying dynamic content of JavaScript type, you can read as local variables:

- `parameters`: The parameters of the request
- `headers`: The request headers
Expand Down

0 comments on commit 00a5aa1

Please sign in to comment.