http://railstutorial.jp/chapters/filling-in-the-layout?version=4.0#fig-new_signup_page
この5章の5.4.2のラストでパス出来るはずのテストがパスできません。エラーは以下の内容です。
F...........
Failures:
- StaticPagesController GET 'index' returns http success
Failure/Error: get 'index'
ActionController::UrlGenerationError:
No route matches {:action=>"index", :controller=>"static_pages"}./spec/controllers/static_pages_controller_spec.rb:7:in `block (3 levels) in <top (required)>'
Finished in 0.13217 seconds
12 examples, 1 failure
Failed examples:
rspec ./spec/controllers/static_pages_controller_spec.rb:6 # StaticPagesController GET 'index' returns http success
Randomized with seed 18140
ずっと解決できていません。。。
助けて下さい!!!
よろしくお願いします。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。