Rails matchers in any Ruby testing framework
Many people think of Shoulda as a context framework for Ruby tests. It’s really two libraries, however. One is a context framework and the other is a set of Rails matchers that only depend on Ruby. This means they can be used in any testing framework (Test::Unit, RSpec, whatever). This post has more details, including how to write your own matchers.
Post a comment