Skip to content

mcmire/rr-matchy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Matchy matcher for RR

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages