aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-08-16 01:33:31 +0900
committerGitHub <noreply@github.com>2017-08-16 01:33:31 +0900
commit76ee15f04f2455c225b11466e9d4e5c32667b148 (patch)
treefcb760112a8fb0e48f94b68d6447db3d78c741ad
parentfbeebded22f53337df339285164352f298639c63 (diff)
parent10765c047fc648f69c62eefe1529ee09cf786a43 (diff)
downloadrails-76ee15f04f2455c225b11466e9d4e5c32667b148.tar.gz
rails-76ee15f04f2455c225b11466e9d4e5c32667b148.tar.bz2
rails-76ee15f04f2455c225b11466e9d4e5c32667b148.zip
Merge pull request #30270 from yhirano55/update_guide_source_engine
Inserted system_test ones into scaffolding logs [ci skip]
-rw-r--r--guides/source/engines.md3
-rw-r--r--guides/source/generators.md6
2 files changed, 9 insertions, 0 deletions
diff --git a/guides/source/engines.md b/guides/source/engines.md
index 2276f348a1..c7331b6ca4 100644
--- a/guides/source/engines.md
+++ b/guides/source/engines.md
@@ -346,6 +346,9 @@ invoke test_unit
create test/controllers/blorgh/articles_controller_test.rb
invoke helper
create app/helpers/blorgh/articles_helper.rb
+invoke test_unit
+create test/application_system_test_case.rb
+create test/system/articles_test.rb
invoke assets
invoke js
create app/assets/javascripts/blorgh/articles.js
diff --git a/guides/source/generators.md b/guides/source/generators.md
index 389224d908..37af7a1310 100644
--- a/guides/source/generators.md
+++ b/guides/source/generators.md
@@ -197,6 +197,9 @@ $ bin/rails generate scaffold User name:string
invoke jbuilder
create app/views/users/index.json.jbuilder
create app/views/users/show.json.jbuilder
+ invoke test_unit
+ create test/application_system_test_case.rb
+ create test/system/users_test.rb
invoke assets
invoke coffee
create app/assets/javascripts/users.coffee
@@ -415,6 +418,9 @@ $ bin/rails generate scaffold Comment body:text
invoke jbuilder
create app/views/comments/index.json.jbuilder
create app/views/comments/show.json.jbuilder
+ invoke test_unit
+ create test/application_system_test_case.rb
+ create test/system/comments_test.rb
invoke assets
invoke coffee
create app/assets/javascripts/comments.coffee