1
- json_spec [ ![ Build Status] ( https://secure.travis-ci.org/collectiveidea/json_spec.png )] ( http://travis-ci.org/collectiveidea/json_spec ) [ ![ Dependency Status] ( https://gemnasium.com/collectiveidea/json_spec.png )] ( https://gemnasium.com/collectiveidea/json_spec ) [ ![ Code Climate] ( https://codeclimate.com/github/collectiveidea/json_spec.png )] ( https://codeclimate.com/github/collectiveidea/json_spec )
2
- =========
1
+ # json_spec
3
2
4
3
Easily handle JSON in RSpec and Cucumber
5
4
6
- RSpec
7
- --------------
5
+ [ ![ Gem Version] ( https://img.shields.io/gem/v/json_spec.svg?style=flat )] ( http://rubygems.org/gems/json_spec )
6
+ [ ![ Build Status] ( https://img.shields.io/travis/collectiveidea/json_spec/master.svg?style=flat )] ( https://travis-ci.org/collectiveidea/json_spec )
7
+ [ ![ Code Climate] ( https://img.shields.io/codeclimate/github/collectiveidea/json_spec.svg?style=flat )] ( https://codeclimate.com/github/collectiveidea/json_spec )
8
+ [ ![ Dependency Status] ( https://img.shields.io/gemnasium/collectiveidea/json_spec.svg?style=flat )] ( https://gemnasium.com/collectiveidea/json_spec )
9
+
10
+ ## RSpec
8
11
9
12
json_spec defines five new RSpec matchers:
10
13
@@ -101,8 +104,7 @@ hash keys and array indexes. For instance, with the following JSON:
101
104
102
105
We could access the first friend's first name with the path ` "friends/0/first_name" ` .
103
106
104
- Cucumber
105
- --------
107
+ ## Cucumber
106
108
107
109
json_spec provides Cucumber steps that utilize its RSpec matchers and that's where json_spec really
108
110
shines. This is perfect for testing your app's JSON API.
@@ -316,8 +318,7 @@ Check out the [specs](https://github.com/collectiveidea/json_spec/blob/master/sp
316
318
and [ features] ( https://github.com/collectiveidea/json_spec/blob/master/features ) to see all the
317
319
various ways you can use json_spec.
318
320
319
- Contributing
320
- ------------
321
+ ## Contributing
321
322
322
323
If you come across any issues, please [ tell us] ( https://github.com/collectiveidea/json_spec/issues ) .
323
324
Pull requests (with tests) are appreciated. No pull request is too small. Please help with:
@@ -333,8 +334,7 @@ Pull requests (with tests) are appreciated. No pull request is too small. Please
333
334
334
335
If you report a bug and don't include a fix, please include a failing test.
335
336
336
- Copyright
337
- ---------
337
+ ## Copyright
338
338
339
339
Copyright © 2011 Steve Richert
340
340
0 commit comments