RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

rendered.should have_selector in rspec-rails view specs

If you're running into "undefined method `has_selector?' for String" in your view specs after upgrading to RSpec 2 beta 20, this article may help you.

Comments

Cool, thanks! Just what I was looking for.Shaun - August 28, 2010 21:19

Post a Comment

Note: If you are a registered user, you can log in to populate these fields.

You may use ONLY these HTML tags to format your comment:

<a href="" title=""> <b> <blockquote> <code> <em> <i> <strong>

Do NOT use <p> tags. Just use newlines :-)

d
C tits
e
F bum
c
o
d
e
n
Q willy
e
X tits
w