Getting error while running bundle exec rspec spec/requests/static_pages_spec.rb in Rails

I am following this article where I can written this code in this ruby
file below and home page does have sample app, but it still says
static pages home page should have content ‘Sample App’ when I run
bundle exec rspec spec/requests/static_pages_spec.rb

spec/requests/static_pages_spec file code:

require ‘spec_helper’

describe “Static pages” do

describe “Home page” do

it "should have the content 'Sample App'" do
  visit '/static_pages/home'
  page.should have_content('Sample App')


app\views\home.html.erb Code:

Sample App

This is the home page for the Ruby on Rails Tutorial sample application.

-------------------------------------------------------------------------------- Below is my gem file for this app. please advise. thanks for your help. source ''

gem ‘rails’, ‘3.2.1’
gem ‘sqlite3’

Bundle edge Rails instead:

gem ‘rails’, :git => ‘git://’

group :development do
gem ‘rspec-rails’, ‘2.6.0’


group :test do
gem ‘webrat’, ‘0.7.1’
gem ‘capybara’, ‘1.0.0.beta1’

Gems used only for assets and not required

in production environments by default.

group :assets do
gem ‘sass-rails’, ‘3.2.3’
gem ‘coffee-rails’, ‘3.2.1’

See for more

supported runtimes

gem ‘therubyracer’

gem ‘uglifier’, ‘1.0.3’

gem ‘jquery-rails’, ‘2.0.0’

group :production do
gem ‘pg’, ‘0.12.2’