UsefulMatchers
A useful collection of matchers for RSpec.
Installation
Add this line to your application's Gemfile:
gem 'useful_matchers'
And then execute:
$ bundle
Or install it yourself as:
$ gem install useful_matchers
Usage
Add the following to your spec_helper.rb file:
require 'useful_matchers/matchers'
Then start using the matchers in your specs.
Matchers
include_key(key)
include_key(key).with_value(value)
TODO
Contributing
- Fork it ( https://github.com/[my-github-username]/useful_matchers/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request