Skip to content

Commit

Permalink
Add instruction on how to use master
Browse files Browse the repository at this point in the history
  • Loading branch information
luisobo committed Jul 5, 2013
1 parent 96391fd commit d923702
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Expand Up @@ -14,7 +14,11 @@ This library was inspired by [WebMock](https://github.com/bblimke/webmock) and i

### EXPERIMENTAL: Support for ASIHTTPRequest
At this moment Nocilla supports stubbing request made with ASIHTTPRequest. This feature is experimental for the moment and more testing in the wild needs to be done. It has been tested with the classes `ASIHTTPRequest` and `ASIFormDataRequest`. It has _not_ been tested for `ASIWebPageRequest`, `ASICloudFilesRequest` or `ASIS3Request`.
If you want to enable it, register the hook before starting Nocilla, like this:
If you want to enable it, point to the podspec in this repo and register the hook before starting Nocilla, like this:

```ruby
pod 'Nocilla', :podspec => 'https://raw.github.com/luisobo/Nocilla/master/Nocilla.podspec'
```

```objc
[[LSNocilla sharedInstance] registerHook:[[LSASIHTTPRequestHook alloc] init]];
Expand Down

0 comments on commit d923702

Please sign in to comment.