[rspec-users] how to write complex matchers
yura at brainhouse.ru
Sun Feb 15 01:18:34 EST 2009
> Yury Kotlyarov wrote:
>> The project aims to encourage feedback on the best practices of
>> creating custom expectation matchers and specs for them.
>> Does it make sense?
> That just says it's a "project".
> One git clone later... It is a Rails 2.3.0 website!
> TX; I will now go spelunking down inside it for a while. Wish me luck!
Yes, rails 2.3 app is just an environment to custom matchers
spec'ing/development. You can clone the git repo and just `rake spec` to
see my issues...
Those matchers (spec/lib/custom_ui_matchers/*) will be used in my real
project tho. But I still have minor issues which are listed in Open
questions section. Comments/remarks on the specs/code/etc are welcome!
More information about the rspec-users