Skip to content

Commit

Permalink
Added configuration documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
bethesque committed Apr 22, 2014
1 parent 9f9d178 commit be1412e
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions documentation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

* Step by step instructions for getting started with pacts can be found in the project [README.md](/README.md#usage)
* [Terminology](terminology.md)
* [Configuration](configuration.md)
* [Frequently asked questions](faq.md)
* [Rarely asked questions](raq.md)
* [Testing with pact diagram](Testing with pact.png)
30 changes: 30 additions & 0 deletions documentation/configuration.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Configuration

## Consumer and Provider

### diff_formatter

Default value: `:embedded`

```
Pact.configure do | config |
config.diff_formatter = :list
end
```

#### :list

<a href="diff_formatter_list.png">

#### :embedded

<a href="diff_formatter_embedded.png">

#### :unix
<a href="diff_formatter_unix.png">

## Consumer


## Provider
Binary file added documentation/diff_formatter_embedded.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added documentation/diff_formatter_list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added documentation/diff_formatter_unix.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit be1412e

Please sign in to comment.