Skip to content

Commit

Permalink
Update readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
ejholmes committed Jun 24, 2012
1 parent 55d1766 commit 69c612c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,14 @@ before do
end
```

Now we can make requests to `/test` from javascript and our mock will be used.
Awesome!

```coffeescript
$.getJSON '/test', (data) -> console.log(data.message)
# => 'hello world'
```

## Contributing

1. Fork it
Expand Down

0 comments on commit 69c612c

Please sign in to comment.