Displaying 1 result from an estimated 1 matches for "rspec_expectation_matchers".
2007 May 22
3
rspec_on_rails'' spec:doc and dry runs
In rspec_on_rails, the spec:doc task uses --dry-run, which doesn''t
jive well with rspec''s ability to write docs for you.
For example, I use the rspec_expectation_matchers plugin from
spicycode.com (scanned for a name, didn''t find one =), and end up
writing specs like:
it { @ticket.should validate_presence_of(:name) }
Which results in specdocs such as:
Ticket
- NO NAME (Because of --dry-run)
- NO NAME (Because of --dry-run)
- NO NAME (Because...