I was using rails 3 rc and rspec beta 19, and everything worked fine.
Today i updated and i get errors on the following methods:
rendered.should contain("bla")
rendered.should have_xpath(//table//tr)
rendered.should have_selector('#foo')
What should i do?
on 2010-08-24 10:12
on 2010-08-24 13:50
On Aug 24, 2010, at 5:09 AM, nathanvda wrote: >> What should i do? > I rolled back to version 2.0.0.beta.19 and everything is fine again. Beta 20 removes the dependency on webrat, so you can choose webrat or capybara. This means you need to add the dependency to the Gemfile yourself. This is documented in the README [1] and upgrade notes [2], which are referenced in the post-install message you get when you install rspec-rails. HTH, David [1] http://github.com/rspec/rspec-rails [2] http://github.com/rspec/rspec-rails/blob/master/Upgrade.markdown
on 2010-08-24 17:43
Great David, thank you for your help! I did look at the docs but did not find that straighaway.
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.