new to ROR and working through the MH tutorials. I am working through lesson 03 and have slightly dynamic pages configuration double and triple checked for home page title and get the following error message when I save page_controller_spec.rb or home.html.erb.
Error Message
Failures:
1) PagesController GET 'home' should have the right title
Failure/Error: response.should have_selector("title",:content => "Ruby on Rails Tutorial Sample | Home")
NoMethodError:
undefined method has_selector?' for #<ActionController::TestResponse:0x007f99bad28e48>
# ./spec/controllers/pages_controller_spec.rb:13:in
block (3 levels) in '
Finished in 0.1075 seconds 4 examples, 1 failure
Failed examples:
rspec ./spec/controllers/pages_controller_spec.rb:11 # PagesController GET 'home' should have the right title
any direction would be appreciated
All the best Peter