I'm plodding through Mike Hartl's Rails Tutorial and in section 4.4 it appears that it had me change the rspec request file from the format of:
page.should have_selector('title', :text => "#{base_title}")
to
expect(page).to have_title("Ruby on Rails Tutorial Sample App")
I now get two undefined method errors where I use ".to have_title" and ".to_not have_title". I shutdown and restarted Webrick, Spork, and Guard just in case, but it still doesn't work.
Capybara version 1.1.2 Rspec version 2.11.1
Please let me know if any other info is needed.