0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Rails チュートリアル 14章 following/followerページのテスト 演習回答 

Posted at

リスト 14.29のassert_selectに関連するコードをコメントアウトしてみて、テストが正しく red に変わることを確認してみましょう。

sample_app/app/views/users/show_follow.html.erb

<%#= link_to gravatar_for(user, size: 30), user %>
...
...     
<%#= render @users %>

ユーザー詳細ページは2リンクずつ存在しているため、

上記2箇所のコードをコメントアウトしないとredにならない。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?