title: Why Am I Getting These Failures in RSpec?
body: <p>Getting the following errors when I run 'bundle exec rspec spec/requests/static_pages_spec.rb:</p>
  
  <pre><code>9 examples, 2 failures
  
  Failed examples:
  
  rspec ./spec/requests/static_pages_spec.rb:56 # Static pages Contact page should have the title 'Contact page'
  rspec ./spec/requests/static_pages_spec.rb:51 # Static pages Contact page should have the content 'Contact page'
  </code></pre>
  
  <p>I can't figure out how to get the two tests to pass here.</p>
  
  <p>Trying to get through the tutorial here, learning, very new (I believe this is the code):</p>
  
  <pre><code> describe "Contact page" do
  
      it "should have the content 'Contact'" do
        visit '/static_pages/contact'
        expect(page).to have_content('Contact')
      end
  
      it "should have the title 'Contact'" do
        visit '/static_pages/contact'
        expect(page).to have_content("Ruby on Rails Tutorial Sample App | Contact")
      end
    end
  end
  </code></pre>
  
  <p>Additionally, the html file: </p>
  
  <pre><code>&lt;% provide(:title, 'Contact') %&gt;
  &lt;h1&gt;Contact&lt;/h1&gt;
  &lt;p&gt;
    Contact Ruby on Rails Tutorial about the sample app at the
    &lt;a href="http://railstutorial.org/contact"&gt;contact page&lt;/a&gt;.
  &lt;/p&gt;
  </code></pre>