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
32
43Easily handle JSON in RSpec and Cucumber
54
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
811
912json_spec defines five new RSpec matchers:
1013
@@ -101,8 +104,7 @@ hash keys and array indexes. For instance, with the following JSON:
101104
102105We could access the first friend's first name with the path ` "friends/0/first_name" ` .
103106
104- Cucumber
105- --------
107+ ## Cucumber
106108
107109json_spec provides Cucumber steps that utilize its RSpec matchers and that's where json_spec really
108110shines. 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
316318and [ features] ( https://github.com/collectiveidea/json_spec/blob/master/features ) to see all the
317319various ways you can use json_spec.
318320
319- Contributing
320- ------------
321+ ## Contributing
321322
322323If you come across any issues, please [ tell us] ( https://github.com/collectiveidea/json_spec/issues ) .
323324Pull 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
333334
334335If you report a bug and don't include a fix, please include a failing test.
335336
336- Copyright
337- ---------
337+ ## Copyright
338338
339339Copyright © 2011 Steve Richert
340340
0 commit comments