0
0

More than 3 years have passed since last update.

Ruby on Rails チュートリアル 21日目

Posted at

今日は、昨日出たエラーの修正をしていました。
が、一つだけエラー文を読んでも何をどう修正すればいいかわかりませんでした。
エラーが出てきたのはリスト 13.56です。

$ rails t
Running via Spring preloader in process 14198
Run options: --seed 26388

# Running:

................E.................................

Finished in 1.784464s, 28.0196 runs/s, 147.9436 assertions/s.

  1) Error:
MicropostsInterfaceTest#test_micropost_interface:
ActionView::Template::Error: Missing partial shared/_micropost_form with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :jbuilder]}. Searched in:
  * "/home/ec2-user/environment/sample_app/app/views"

    app/views/static_pages/home.html.erb:8:in `_app_views_static_pages_home_html_erb___1379375082338279699_58267200'
    test/integration/microposts_interface_test.rb:11:in `block in <class:MicropostsInterfaceTest>'

50 runs, 264 assertions, 0 failures, 1 errors, 0 skips

このエラー文が出てきたときに何を修正すればいいのか教えてくれると嬉しいです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0