I am working on Michael Hartl's tutorial at railstutorial.org. I am having Difficulty In chapter 5 with getting the routing to work.
If I start with a routes file

```
routes.rb

Rails.application.routes.draw do
    root 'static_pages#home'
    get 'static_pages/help'  
    get 'static_pages/about'
    get 'static_pages/contact'

```

for each of these there is a test like

```
static_pages_controller_test.rb

test "should get home" do
    get :home
    assert_response :success
    assert_select "title", "Ruby on Rails Tutorial Sample App"
end

```

this syntax works and all the tests pass but later he wants to change the syntax using the \*\_path convention.

so now the tests look like

```
class StaticPagesControllerTest < ActionController::TestCase
  test "should get home" do
  get root_path
  .
  .
  end

test "should get help" do
  get help_path
  .
  .
  end

```

and I updated the routes to 

```
root 'static_pages#home'
get  '/help',    to: 'static_pages#help'
get  '/about',   to: 'static_pages#about'
get  '/contact', to: 'static_pages#contact'

```

but now all the tests fail with the messages

```
ERROR["test_should_get_home", StaticPagesControllerTest, 2016-06-30     05:02:41 -0700]
test_should_get_home#StaticPagesControllerTest (1467288161.43s)
ActionController::UrlGenerationError:           ActionController::UrlGenerationError: 
No route matches {:action=>"/", :controller=>"static_pages"}

ERROR["test_should_get_help", StaticPagesControllerTest, 2016-06-30 05:02:41 -0700]
test_should_get_help#StaticPagesControllerTest (1467288161.43s)
ActionController::UrlGenerationError:          ActionController::UrlGenerationError: 
No route matches {:action=>"/help", :controller=>"static_pages"}

```

my controller looks something like this

```
class StaticPagesController < ApplicationController
  def home
  end

  def help
  end
  .
  .
end

```

if I run rake routes I get

```
 Prefix Verb URI Pattern        Controller#Action
   root GET  /                  static_pages#home
   help GET  /help(.:format)    static_pages#help
  about GET  /about(.:format)   static_pages#about
contact GET  /contact(.:format) static_pages#contact

```

what am I doing wrong?