Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

June 04 2009

the rails loft - matchers_in_have_tag_blocks.should be(/with_tag/)

Unfortunately, calling have_tag within a have_tag block won't raise an error. There's no mechanism that will warn you that your inner have_tag is ineffective. The results of the inner have_tag will simply be ignored.
Tags: rails rspec ruby