Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jondot committed Oct 17, 2011
1 parent 496c6c6 commit a86197f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -4,7 +4,7 @@ Moxy (or `moxy`) is a programmable mock proxy. It is an HTTP proxy exposing web

For example, you might want to set up that a request to `http://google.com` will return the text `boo hoo`. Thats easy:

$ curl -d "mock_text=stub_request(:get, 'http://google.com').to_return(:body=>'boo hoo')" http://localhost:9292/__setup__
$ curl -d "mock_text=stub_request(:get, 'http://google.com').to_return(:body=>'boo hoo')" http://localhost:9292/__setup__

However, moxy was not made just for one-offs. It was made in order to allow you to use such things in automated integration tests.

Expand Down

0 comments on commit a86197f

Please sign in to comment.