rspec failure upon revisit

I just returned from a different project after taking a few weeks off of my tutorial. I'm using Ruby on Rails 3 Tutorial - Learn Rails by Example by Michael Hartl.

After rebooting my server I ran an rspec spec/ command to check to see if there were any problems and this is what I received. I didn't modify anything except I did overwrite users_controller.rb and users_controller_spec.rb when starting another chapter of the tutorial. I'm not sure what changed.

I'm having trouble diagnosing the error:

Pending:   UsersHelper add some examples to (or delete) /Users/andrewchickedantz/rails_projects/sample_app/spec/helpers/users_helper_spec.rb     # No reason given     # ./spec/helpers/users_helper_spec.rb:14   User add some examples to (or delete) /Users/andrewchickedantz/rails_projects/sample_app/spec/models/user_spec.rb     # No reason given     # ./spec/models/user_spec.rb:4   users/new.html.erb add some examples to (or delete) /Users/andrewchickedantz/rails_projects/sample_app/spec/views/users/new.html.erb_spec.rb     # No reason given     # ./spec/views/users/new.html.erb_spec.rb:4


  1) LayoutLinks should have a signup page at '/signup'      Failure/Error: response.should have_selector('title', :content => "Sign up")        expected following output to contain a <title>Sign up</title> tag:        <!DOCTYPE html>        <html>        <head>        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">        <title>Ruby on Rails Tutorial Sample App | </title>        <!--[if lt IE 9]>        <script src=";&gt;&lt;/script&gt;        <![endif]--><link href="/assets/blueprint/screen.css" media="screen" rel="stylesheet" type="text/css">        <link href="/assets/blueprint/print.css" media="print" rel="stylesheet" type="text/css">        <!--[if lt IE8]><link href="/assets/blueprint/ie.css" media="screen" rel="stylesheet" type="text/css" /><![endif]--><link href="/assets/custom.css" media="screen" rel="stylesheet" type="text/css">        </head>        <body>            <div class="container">              <header><a href="/"><img alt="Sample App" class="round" src="/assets/logo.png"></a>          <nav class="round"><ul>        <li><a href="/">Home</a></li>              <li><a href="/help">Help</a></li>              <li><a href="#">Sign in</a></li>            </ul></nav></header><section class="round"><h1>Users#new</h1>        <p>Find me in app/views/users/new.html.erb</p>

             </section><footer><nav class="round"><ul>        <li><a href="/about">About</a></li>              <li><a href="/contact">Contact</a></li>              <li><a href=";&gt;News&lt;/a&gt;&lt;/li&gt;              <li><a href=";&gt;Rails Tutorial</a></li>            </ul></nav></footer>        </div>          </body>        </html>      # ./spec/requests/layout_links_spec.rb:27:in `block (2 levels) in <top (required)>'

Finished in 0.55049 seconds 17 examples, 1 failure, 3 pending

Failed examples:

rspec ./spec/requests/layout_links_spec.rb:25 # LayoutLinks should have a signup page at '/signup'

Is this something I can fix? Looks to be searching for a signup page that doesn't exist (?).

Please reply if you have a chance. Thanks, Andrew

I found the issue was case sensitive 'Sign up' v. 'Sign Up'

Looks like your spec is expecting a different tag than the one you’ve got here.

–Matt Jones