Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RSpec documentation...where is it hiding?

Having a terrible time finding RSpec-2 (and rspec-rails) documentation. Specifically I want to look up all available Matchers... but how?

I've tried:

  • RSpec.info : outdated - RSpec 1.x
  • rdoc.info : seems useless, to me anyway. (incomplete?)
  • RSpec-Relish : confusing. incomplete? how would one look up available Matchers?
  • GitHub Wiki : scattered info. unorganized. incomplete?

Yes, I'm aware of The Book...but, seriously, isn't this stuff online?

Even tried rake doc:plugins but it didn't work. Too green to know why...

apparently there used to be some decent 1.x docs on rspec.rubyforge.org. but they're appear to be long gone...

Where are these docs hiding?

like image 210
Meltemi Avatar asked Nov 30 '10 18:11

Meltemi


1 Answers

The first place to go is the official Relish docs, they have gotten a significant improvement over the years and are now my first place to look.

At the time of writing this answer originally, this gist was solid. It contains matchers for the following:

  • Capybara
  • Paperclip with Shoulda
  • Rspec Rails
  • Rspec Exceptions
  • Shoulda Matchers
like image 84
Gavin Miller Avatar answered Sep 25 '22 13:09

Gavin Miller