質問編集履歴

1

誤字修正

2018/06/15 14:02

投稿

sabx
sabx

スコア200

test CHANGED
File without changes
test CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  * リスト5-35に`test/test_helper.rb`に、`include ApplicationHelper`を実装するように記載されています。この`ApplicationHelper`は何者なのでしょうか?`test/`配下に入っている`test_helper.rb`が`app/helpers/application_helper.rb`をincludeするという意味でしょうか
8
8
 
9
- * リスト5-36に`require 'test_helper'と記載されていますが、これは`test/integration/site_layout_test.rb`から`test/test_helper.rb`をincludeしているという意味でしょうか?`test/test_helper.rb`にて`ApplicationHelper`をincludeしているので、結果的にApplicationヘルパーが`test/integration/site_layout_test.rb`にて使用できるようになっているということでしょうか?
9
+ * リスト5-36に`require 'test_helper'`と記載されていますが、これは`test/integration/site_layout_test.rb`から`test/test_helper.rb`をincludeしているという意味でしょうか?`test/test_helper.rb`にて`ApplicationHelper`をincludeしているので、結果的にApplicationヘルパーが`test/integration/site_layout_test.rb`にて使用できるようになっているということでしょうか?
10
10
 
11
11
 
12
12