Project

rr-matchy

0.0
No commit activity in last 3 years
No release in over 3 years
Matchy matcher for RR
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.10.5
 Project Readme

rr-matchy

Summary

A matcher for use with Jeremy McAnally's matchy that integrates with RR.

Installation

gem install rr-matchy

Usage

Somewhere in your test_helper.rb:

require 'rr-matchy'

class Test::Unit::TestCase
  include RR::Adapters::TestUnit
  extend RRMatchy
end

Now you can say:

this.should have_received(:that)

and

this.should_not have_received(:that)

TODO

Probably should submit a pull request to btakita eventually, but we'll see how this works first.

Author/License

Copyright (c) 2010 Elliot Winkler. See LICENSE for details.