UsefulMatchers

A useful collection of matchers for RSpec.

Installation

Add this line to your application's Gemfile:

gem 'useful_matchers'

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

  1. Fork it ( https://github.com/twomaestros/useful-matchers/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request