Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 776 Bytes

README.md

File metadata and controls

40 lines (23 loc) · 776 Bytes

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

  1. Fork it ( https://github.com/[my-github-username]/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