groonga-client-model 0.9.1 → 0.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -1
  3. data/doc/text/news.md +10 -0
  4. data/groonga-client-model.gemspec +2 -2
  5. data/lib/groonga-client-model.rb +1 -0
  6. data/lib/groonga_client_model/railties/groonga.rake +35 -0
  7. data/lib/groonga_client_model/schema_loader.rb +43 -0
  8. data/lib/groonga_client_model/spec_helper.rb +6 -0
  9. data/lib/groonga_client_model/test/fixture.rb +33 -0
  10. data/lib/groonga_client_model/test_helper.rb +6 -0
  11. data/lib/groonga_client_model/version.rb +1 -1
  12. data/test/apps/rails5/Gemfile.lock +16 -18
  13. data/test/apps/rails5/log/development.log +725 -183
  14. data/test/apps/rails5/log/test.log +929 -1174
  15. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/04/04zh1ytKDagWzWcqUyadXtzzohCn9iVvSVG4KrjpfPU.cache +0 -0
  16. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{Sd/Sda0ZUElAQoD0SXBgNqF99THI2KdVA4YOcdhAyZxPsY.cache → 0Y/0YkSxw5h6hn0sUlqRHRM4egC2_a7WC-BN24ZkVpKVhM.cache} +0 -0
  17. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/2R/2RT8ZitZmaxI-wImfF4i_xLnxo4kg6X7nsdWHk4f7Ps.cache +0 -0
  18. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/3P/3Px3lDIUtsiFfGy4nQGown3yldwKCp1MNuWbSDX1pvg.cache +0 -0
  19. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{xU/xUR-yFcc0UZR2BLp-jBU9bjPiIYophx6ep5yBEeQCM8.cache → 3d/3dM4S3-yZA5FH03WVgndCHr0XbWKpRNKVDqBbbTkhPo.cache} +0 -0
  20. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/5g/5gcXfyU_2YGZzzLIX2HgVkpwSaUUyIH9beyVvR4-RyM.cache +0 -0
  21. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{Qr/Qrr38H1OZvkfozoMfcDEQ-arpbO7PFQ47i70UTEeWnk.cache → 6r/6rrJLZY0-_gdJxgMUZBZIn-wf8bPVArYjXhIIrt_O5Y.cache} +0 -0
  22. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{J-/J-hbdFdKmhYgVvczTzQyQ6ToGIL2Ucw2qCT6Y1oOPhg.cache → 8F/8FSmWqWD4QwOv26Ndv9UokK0dyx8An2fdD5dojiMIEQ.cache} +0 -0
  23. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/8w/8wTyiibSVQ_CunXEyCjFUbzdSEAuSbH0z5XuCUXG0EA.cache +0 -0
  24. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/9p/9pkKAqd_Ia0HpbbUCZtpJ8WiDzr5stcFJsnqsOsJwCc.cache +0 -0
  25. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/B9/B9QeeLv4GR9sOdrwyvxa8jIr4MkxjYh4Ow6MOZ8slX8.cache +0 -0
  26. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Dc/Dcujr9N54L76juPEo4EOYs8buHy8vO2fp-AjoG42-uQ.cache +0 -0
  27. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/F2/F2G2wQz7oPKX0Y4KCAUyw79ULHKyiweLkqbo4uclz2M.cache +0 -0
  28. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/F4/F4Vm2jVryhME1Ux-h1fCIbynttYJmSOV0lzVQihiIas.cache +0 -0
  29. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{na/naKBB6bJXEjSAfrBfAiXlIzJDRGTsRrbQlI5FezRxnM.cache → G5/G5kEgrYqe2Ch48tEIN0oJPF6WT2CV5zYmTJvOz7A6RQ.cache} +0 -0
  30. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{m8/m8XSfEV5J53MzAtMK6udqOZh9S_uC-tELG327hLnWT4.cache → I4/I4vFFlIVkL7O3GA9sTW-w6J6yRUCLLl9YNRmfxrqswI.cache} +0 -0
  31. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{71/71Km0xL27urBNH3LVGVQ7MXXtuIePWU9VsJ4VjSeMac.cache → Jx/JxqKcQMwBJiEHGEI02lnLQOcLwQdQAoS-uLcFH6qDYI.cache} +0 -0
  32. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Lv/Lv6fMJse5qx4Cjg7vyFgQTjyxJ0IIVudlBljGARWz8w.cache +1 -0
  33. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Mm/Mm6np3z0M8X93OMMO8kUlkKsrTFxouNT0fD8KOV7Shc.cache +1 -0
  34. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{46/46uDYcwHwTAfdjT4Cxqs7pC3FEBf4GNj8S36-TDtT18.cache → NW/NWK4XwAvNUtd_qfV8Jo3Jb6bUO0OjHmulFzWtqDf3dY.cache} +0 -0
  35. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{Ih/IhFDQr9KaIbw7KJmoi9sRJ2CWZtxt72J0Eu2HDAQYJA.cache → ON/ONKACMGby25ZIw_pcjnW6RmhgI3SwIxPehIveaYublI.cache} +0 -0
  36. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Pz/PzsjxNnBT0RlIX-T49i6Iyrc_XG8IaJ-F55_x52md8M.cache +0 -0
  37. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Q0/Q0AeQIZuDbFTvWKLlSaL-R4XKHuiymwgVvQUqxxVq_k.cache +0 -0
  38. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/SO/SOU1TEHFYRVejiA6nBNRm3Bwq_YtPlxSXK0VM3y3vto.cache +0 -0
  39. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Sh/ShN-ZUpoxLJLJiMV5gFDP00vcSMHw87YzFBlXH4adPA.cache +0 -0
  40. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Si/Sin6bEoASrNa45108CpfgF2jcifz-KpbsvvZJtqVZ68.cache +0 -0
  41. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{kv/kvOgs1tp83VikXcBjupUg71ybkDcx1pBzH2Dw6mVa7A.cache → TJ/TJYJYIRzfatw62Fqd4utqJCOWBRwwxagtiwaal6YgMY.cache} +0 -0
  42. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{eo/eoSb6VtmOhc2zv4rO1yMBf6hjUj7zHVkSMiNZ7Y576w.cache → Vx/VxspPfgrkAr0HuxEvyUjYiDJYqefMknFGDIlgIqCdxc.cache} +0 -0
  43. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/X6/X6u2Cul1j8SpBq0WC1S8WhzGiT6f-6L_djUngh_gQfw.cache +0 -0
  44. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{a7/a7_aLHXKzPVK1lGdqvWuCl5hXxwSIGH4kcxuF7jMzgE.cache → XJ/XJRPx7aZ4ajZ72O37hx53ZFkfXSHpDDpCy78LI0leqM.cache} +0 -0
  45. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Xe/XeuTfsFtikyfcpzyNjJW7GvVARtV7EFUF8V9lJuS9zs.cache +0 -0
  46. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Ya/YayMISAqD-Y3vBFywwKrXbUovGf5o77HUF5s8mnQgO0.cache +0 -0
  47. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/Zv/ZvCEW2ZyS-k4cHH7Gd8P2nKFE9Uh1VOrfR-1PYY2yz8.cache +5 -0
  48. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{TI/TIt8bfq26rstydJvFM28p05FfB6s8Qjr6EoF6EtQUEc.cache → _3/_3zPnz3qCdhBpeeHpy868M7ys7R_57zbTyQrXSSYss0.cache} +0 -0
  49. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{-8/-8MPXp-nRdAuudlPZG0-fjIhSfT9c-mruIMNR_HnpTE.cache → aa/aaHS7n54GBP_AiELufudftqA7C4tZhFBH9VGYdybJr8.cache} +0 -0
  50. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/bC/bC4GwUqmx5xluzLKeau3eKE3yl_Ww8C5NB00OG94FU8.cache +1 -0
  51. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/c9/c9YydpmE9rI8VeQ4sVqd5JrA1VSEFGGzpuMBUSrAGac.cache +0 -0
  52. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/cB/cBjyp28toLdtY2EFK9cqrbDnrwBSFI7T_vLNoGz-u_U.cache +0 -0
  53. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/cT/cT8i2C4yg0R2UYvutxD-4kbdJF09toG1OUgtd6NAf2M.cache +0 -0
  54. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/cU/cUegCc5wz5f7rfqzD7wrbN633pZRWeewi9j1lJ895Y0.cache +0 -0
  55. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/dA/dAab_MVPXubReIXiKSsP0TGA9dXca0KkwVLz7xNJNmA.cache +0 -0
  56. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{LD/LDzW9KshYb0NgRzu1HyrKQlc3satBlIIOEHET_I4TjA.cache → eQ/eQxzX_D16-XyOt1WTkYEC0qDvRbjXcCgQgnd9pBrg7o.cache} +0 -0
  57. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{pN/pNBMBzHv-_a5u4lbxQmRsv_hzWZOk93wX3hlG4y4X5E.cache → fA/fAYjlah9JCXwON-gnJ4_h31CwtuuIXzN3g0yqPv2VVs.cache} +0 -0
  58. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{m-/m-gDByrlve8T_OZCCZCaGVlLUnbGWk0qkv7naFMcLDg.cache → fs/fsOGJq1Cf6bkAY-rQw_0-E3_SR3wCq32URYNGrkpra8.cache} +0 -0
  59. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/nx/nxTv3sKVUQZADJyM3dPaVmUA78MIsMLD_K279yN_GsI.cache +0 -0
  60. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/oU/oUgVYeNUmvSbf5MWq5a-nknLIlepM8oMGSWyD1J5bzg.cache +0 -0
  61. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{eY/eYUlaSCg8w9Jp-IVGbffopOhH4C94vGA0w6SaC88FM8.cache → pO/pO91-alTEvoJQwAf99ZO4MPNXR6GFVPYAGKgUwXp4_8.cache} +0 -0
  62. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/pq/pqi4pYpSRroaGdwCXuATmVeb1U-mvzUU8zeWu6o5ooo.cache +0 -0
  63. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/q9/q9zC8RrLhOO1dVXJ3fZqc9dSbshhjSpsDQxh5MpbnDA.cache +0 -0
  64. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{S1/S1RgRu3SVlB0u9krRyLUpNzVgKMN9Pk_KMWLehP2SUc.cache → qi/qit4N5k-pwfAxy8la201gik2BGMQHK1goKvvpTXEa2A.cache} +0 -0
  65. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{P1/P1Ojlz0OChhbxGf83KhMWxJFzKZ3unhLwJ1UoH5U7ss.cache → rF/rF2vahiCQKUhJ8McEG0p8B7csWsz-dL13EQ7r2APOxc.cache} +0 -0
  66. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/rv/rvA5ImExxmMtvHSKmwVMXxnVzM4istECfBR-LxbUf8I.cache +0 -0
  67. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/tV/tVL6qud2OxyiMT_-izeWpZa4KnypOUhK0XjwBIPVgi0.cache +0 -0
  68. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/u9/u9KRIaEPNXOli5XraaesEIoUIeV7x01_Uws3fve7caA.cache +0 -0
  69. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/uo/uo2nRPLQSA3FmFVLvE-9uXW64Xx-Gp799qSF3vui1WE.cache +0 -0
  70. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/wk/wkq61sthozFhcHD4adBD0UoyC9h7wkoKhI8HUXB_lHk.cache +0 -0
  71. data/test/apps/rails5/tmp/cache/assets/sprockets/v3.0/{KZ/KZDZMIUD9LD98z__9bjCHLnzjcGoKSnlxuHH1cEiw6M.cache → yO/yO6BxW_KpdFMPjQgywUZXxLvdVM639GnboZKUb3K7kA.cache} +0 -0
  72. metadata +183 -166
@@ -1,9 +1,21 @@
1
+ ------------------------------------------
2
+ PostsControllerTest: test_should_get_index
3
+ ------------------------------------------
4
+ ---------------------------------------------
5
+ PostsControllerTest: test_should_destroy_post
6
+ ---------------------------------------------
1
7
  ----------------------------------------
2
8
  PostsControllerTest: test_should_get_new
3
9
  ----------------------------------------
4
10
  ------------------------------------------
5
11
  PostsControllerTest: test_should_show_post
6
12
  ------------------------------------------
13
+ --------------------------------------------
14
+ PostsControllerTest: test_should_update_post
15
+ --------------------------------------------
16
+ --------------------------------------------
17
+ PostsControllerTest: test_should_create_post
18
+ --------------------------------------------
7
19
  -----------------------------------------
8
20
  PostsControllerTest: test_should_get_edit
9
21
  -----------------------------------------
@@ -13,41 +25,35 @@ PostsControllerTest: test_should_create_post
13
25
  ------------------------------------------
14
26
  PostsControllerTest: test_should_get_index
15
27
  ------------------------------------------
16
- ---------------------------------------------
17
- PostsControllerTest: test_should_destroy_post
18
- ---------------------------------------------
19
28
  --------------------------------------------
20
29
  PostsControllerTest: test_should_update_post
21
30
  --------------------------------------------
22
- ---------------------------------------------
23
- PostsControllerTest: test_should_destroy_post
24
- ---------------------------------------------
25
- --------------------------------------------
26
- PostsControllerTest: test_should_create_post
27
- --------------------------------------------
28
31
  ------------------------------------------
29
32
  PostsControllerTest: test_should_show_post
30
33
  ------------------------------------------
31
- --------------------------------------------
32
- PostsControllerTest: test_should_update_post
33
- --------------------------------------------
34
+ ---------------------------------------------
35
+ PostsControllerTest: test_should_destroy_post
36
+ ---------------------------------------------
34
37
  ----------------------------------------
35
38
  PostsControllerTest: test_should_get_new
36
39
  ----------------------------------------
37
40
  -----------------------------------------
38
41
  PostsControllerTest: test_should_get_edit
39
42
  -----------------------------------------
40
- ------------------------------------------
41
- PostsControllerTest: test_should_get_index
42
- ------------------------------------------
43
+ --------------------------------------------
44
+ PostsControllerTest: test_should_update_post
45
+ --------------------------------------------
43
46
  ---------------------------------------------
44
47
  PostsControllerTest: test_should_destroy_post
45
48
  ---------------------------------------------
49
+ ------------------------------------------
50
+ PostsControllerTest: test_should_show_post
51
+ ------------------------------------------
46
52
  -----------------------------------------
47
53
  PostsControllerTest: test_should_get_edit
48
54
  -----------------------------------------
49
55
  --------------------------------------------
50
- PostsControllerTest: test_should_update_post
56
+ PostsControllerTest: test_should_create_post
51
57
  --------------------------------------------
52
58
  ----------------------------------------
53
59
  PostsControllerTest: test_should_get_new
@@ -55,369 +61,510 @@ PostsControllerTest: test_should_get_new
55
61
  ------------------------------------------
56
62
  PostsControllerTest: test_should_get_index
57
63
  ------------------------------------------
58
- ------------------------------------------
59
- PostsControllerTest: test_should_show_post
60
- ------------------------------------------
61
64
  --------------------------------------------
62
65
  PostsControllerTest: test_should_create_post
63
66
  --------------------------------------------
67
+ Started POST "/posts" for 127.0.0.1 at 2016-12-06 16:59:39 +0900
68
+ Processing by PostsController#create as HTML
69
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
70
+ Redirected to http://www.example.com/posts/2
71
+ Completed 302 Found in 26ms
72
+ --------------------------------------------
73
+ PostsControllerTest: test_should_update_post
74
+ --------------------------------------------
75
+ Started PATCH "/posts/3" for 127.0.0.1 at 2016-12-06 16:59:39 +0900
76
+ Processing by PostsController#update as HTML
77
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"3"}
78
+ Redirected to http://www.example.com/posts/3
79
+ Completed 302 Found in 32ms
64
80
  ---------------------------------------------
65
81
  PostsControllerTest: test_should_destroy_post
66
82
  ---------------------------------------------
83
+ Started DELETE "/posts/4" for 127.0.0.1 at 2016-12-06 16:59:40 +0900
84
+ Processing by PostsController#destroy as HTML
85
+ Parameters: {"id"=>"4"}
86
+ Redirected to http://www.example.com/posts
87
+ Completed 302 Found in 2ms
67
88
  ------------------------------------------
68
89
  PostsControllerTest: test_should_show_post
69
90
  ------------------------------------------
70
- --------------------------------------------
71
- PostsControllerTest: test_should_create_post
72
- --------------------------------------------
91
+ Started GET "/posts/5" for 127.0.0.1 at 2016-12-06 16:59:40 +0900
92
+ Processing by PostsController#show as HTML
93
+ Parameters: {"id"=>"5"}
94
+ Rendering posts/show.html.erb within layouts/application
95
+ Rendered posts/show.html.erb within layouts/application (3.8ms)
96
+ Completed 200 OK in 384ms (Views: 381.2ms)
73
97
  -----------------------------------------
74
98
  PostsControllerTest: test_should_get_edit
75
99
  -----------------------------------------
76
- ----------------------------------------
77
- PostsControllerTest: test_should_get_new
78
- ----------------------------------------
100
+ Started GET "/posts/6/edit" for 127.0.0.1 at 2016-12-06 16:59:40 +0900
101
+ Processing by PostsController#edit as HTML
102
+ Parameters: {"id"=>"6"}
103
+ Rendering posts/edit.html.erb within layouts/application
104
+ Rendered posts/_form.html.erb (18.1ms)
105
+ Rendered posts/edit.html.erb within layouts/application (20.0ms)
106
+ Completed 200 OK in 24ms (Views: 22.0ms)
79
107
  ------------------------------------------
80
108
  PostsControllerTest: test_should_get_index
81
109
  ------------------------------------------
110
+ Started GET "/posts" for 127.0.0.1 at 2016-12-06 16:59:40 +0900
111
+ Processing by PostsController#index as HTML
112
+ Rendering posts/index.html.erb within layouts/application
113
+ Rendered posts/index.html.erb within layouts/application (1.1ms)
114
+ Completed 200 OK in 6ms (Views: 3.0ms)
115
+ ----------------------------------------
116
+ PostsControllerTest: test_should_get_new
117
+ ----------------------------------------
118
+ Started GET "/posts/new" for 127.0.0.1 at 2016-12-06 16:59:40 +0900
119
+ Processing by PostsController#new as HTML
120
+ Rendering posts/new.html.erb within layouts/application
121
+ Rendered posts/_form.html.erb (1.3ms)
122
+ Rendered posts/new.html.erb within layouts/application (2.0ms)
123
+ Completed 200 OK in 5ms (Views: 3.7ms)
82
124
  --------------------------------------------
83
125
  PostsControllerTest: test_should_update_post
84
126
  --------------------------------------------
127
+ Started PATCH "/posts/9" for 127.0.0.1 at 2016-12-06 17:00:07 +0900
128
+ Processing by PostsController#update as HTML
129
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"9"}
130
+ Redirected to http://www.example.com/posts/9
131
+ Completed 302 Found in 10ms
132
+ ---------------------------------------------
133
+ PostsControllerTest: test_should_destroy_post
134
+ ---------------------------------------------
135
+ Started DELETE "/posts/10" for 127.0.0.1 at 2016-12-06 17:00:07 +0900
136
+ Processing by PostsController#destroy as HTML
137
+ Parameters: {"id"=>"10"}
138
+ Redirected to http://www.example.com/posts
139
+ Completed 302 Found in 3ms
85
140
  --------------------------------------------
86
- PostsControllerTest: test_should_update_post
141
+ PostsControllerTest: test_should_create_post
87
142
  --------------------------------------------
143
+ Started POST "/posts" for 127.0.0.1 at 2016-12-06 17:00:07 +0900
144
+ Processing by PostsController#create as HTML
145
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
146
+ Redirected to http://www.example.com/posts/12
147
+ Completed 302 Found in 2ms
88
148
  ------------------------------------------
89
149
  PostsControllerTest: test_should_get_index
90
150
  ------------------------------------------
91
- Started GET "/posts" for 127.0.0.1 at 2016-12-05 17:54:25 +0900
151
+ Started GET "/posts" for 127.0.0.1 at 2016-12-06 17:00:07 +0900
92
152
  Processing by PostsController#index as HTML
93
153
  Rendering posts/index.html.erb within layouts/application
94
- Rendered posts/index.html.erb within layouts/application (3.7ms)
95
- Completed 200 OK in 211ms (Views: 201.9ms)
154
+ Rendered posts/index.html.erb within layouts/application (2.0ms)
155
+ Completed 200 OK in 108ms (Views: 106.9ms)
96
156
  -----------------------------------------
97
157
  PostsControllerTest: test_should_get_edit
98
158
  -----------------------------------------
99
- ---------------------------------------------
100
- PostsControllerTest: test_should_destroy_post
101
- ---------------------------------------------
102
- ------------------------------------------
103
- PostsControllerTest: test_should_show_post
104
- ------------------------------------------
105
- --------------------------------------------
106
- PostsControllerTest: test_should_create_post
107
- --------------------------------------------
159
+ Started GET "/posts/14/edit" for 127.0.0.1 at 2016-12-06 17:00:07 +0900
160
+ Processing by PostsController#edit as HTML
161
+ Parameters: {"id"=>"14"}
162
+ Rendering posts/edit.html.erb within layouts/application
163
+ Rendered posts/_form.html.erb (10.0ms)
164
+ Rendered posts/edit.html.erb within layouts/application (10.9ms)
165
+ Completed 200 OK in 15ms (Views: 12.9ms)
108
166
  ----------------------------------------
109
167
  PostsControllerTest: test_should_get_new
110
168
  ----------------------------------------
111
- Started GET "/posts/new" for 127.0.0.1 at 2016-12-05 17:54:25 +0900
169
+ Started GET "/posts/new" for 127.0.0.1 at 2016-12-06 17:00:07 +0900
112
170
  Processing by PostsController#new as HTML
113
171
  Rendering posts/new.html.erb within layouts/application
114
- Rendered posts/_form.html.erb (12.5ms)
115
- Rendered posts/new.html.erb within layouts/application (13.3ms)
116
- Completed 200 OK in 16ms (Views: 15.2ms)
172
+ Rendered posts/_form.html.erb (1.4ms)
173
+ Rendered posts/new.html.erb within layouts/application (2.1ms)
174
+ Completed 200 OK in 5ms (Views: 4.0ms)
175
+ ------------------------------------------
176
+ PostsControllerTest: test_should_show_post
177
+ ------------------------------------------
178
+ Started GET "/posts/16" for 127.0.0.1 at 2016-12-06 17:00:07 +0900
179
+ Processing by PostsController#show as HTML
180
+ Parameters: {"id"=>"16"}
181
+ Rendering posts/show.html.erb within layouts/application
182
+ Rendered posts/show.html.erb within layouts/application (0.5ms)
183
+ Completed 200 OK in 4ms (Views: 2.3ms)
117
184
  --------------------------------------------
118
185
  PostsControllerTest: test_should_create_post
119
186
  --------------------------------------------
120
- -----------------------------------------
121
- PostsControllerTest: test_should_get_edit
122
- -----------------------------------------
187
+ Started POST "/posts" for 127.0.0.1 at 2016-12-06 17:00:15 +0900
188
+ Processing by PostsController#create as HTML
189
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
190
+ Redirected to http://www.example.com/posts/18
191
+ Completed 302 Found in 10ms
123
192
  ---------------------------------------------
124
193
  PostsControllerTest: test_should_destroy_post
125
194
  ---------------------------------------------
126
- ------------------------------------------
127
- PostsControllerTest: test_should_show_post
128
- ------------------------------------------
195
+ Started DELETE "/posts/19" for 127.0.0.1 at 2016-12-06 17:00:15 +0900
196
+ Processing by PostsController#destroy as HTML
197
+ Parameters: {"id"=>"19"}
198
+ Redirected to http://www.example.com/posts
199
+ Completed 302 Found in 3ms
129
200
  ----------------------------------------
130
201
  PostsControllerTest: test_should_get_new
131
202
  ----------------------------------------
132
- Started GET "/posts/new" for 127.0.0.1 at 2016-12-05 17:57:30 +0900
203
+ Started GET "/posts/new" for 127.0.0.1 at 2016-12-06 17:00:15 +0900
133
204
  Processing by PostsController#new as HTML
134
205
  Rendering posts/new.html.erb within layouts/application
135
- Rendered posts/_form.html.erb (11.8ms)
136
- Rendered posts/new.html.erb within layouts/application (13.0ms)
137
- Completed 200 OK in 133ms (Views: 126.5ms)
138
- --------------------------------------------
139
- PostsControllerTest: test_should_update_post
140
- --------------------------------------------
206
+ Rendered posts/_form.html.erb (8.2ms)
207
+ Rendered posts/new.html.erb within layouts/application (9.5ms)
208
+ Completed 200 OK in 111ms (Views: 110.5ms)
209
+ ------------------------------------------
210
+ PostsControllerTest: test_should_show_post
211
+ ------------------------------------------
212
+ Started GET "/posts/21" for 127.0.0.1 at 2016-12-06 17:00:15 +0900
213
+ Processing by PostsController#show as HTML
214
+ Parameters: {"id"=>"21"}
215
+ Rendering posts/show.html.erb within layouts/application
216
+ Rendered posts/show.html.erb within layouts/application (0.5ms)
217
+ Completed 200 OK in 5ms (Views: 2.6ms)
141
218
  ------------------------------------------
142
219
  PostsControllerTest: test_should_get_index
143
220
  ------------------------------------------
144
- Started GET "/posts" for 127.0.0.1 at 2016-12-05 17:57:30 +0900
221
+ Started GET "/posts" for 127.0.0.1 at 2016-12-06 17:00:15 +0900
145
222
  Processing by PostsController#index as HTML
146
223
  Rendering posts/index.html.erb within layouts/application
147
- Rendered posts/index.html.erb within layouts/application (2.3ms)
148
- Completed 200 OK in 6ms (Views: 4.1ms)
224
+ Rendered posts/index.html.erb within layouts/application (2.9ms)
225
+ Completed 200 OK in 7ms (Views: 5.3ms)
226
+ --------------------------------------------
227
+ PostsControllerTest: test_should_update_post
228
+ --------------------------------------------
229
+ Started PATCH "/posts/23" for 127.0.0.1 at 2016-12-06 17:00:15 +0900
230
+ Processing by PostsController#update as HTML
231
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"23"}
232
+ Redirected to http://www.example.com/posts/23
233
+ Completed 302 Found in 3ms
234
+ -----------------------------------------
235
+ PostsControllerTest: test_should_get_edit
236
+ -----------------------------------------
237
+ Started GET "/posts/24/edit" for 127.0.0.1 at 2016-12-06 17:00:15 +0900
238
+ Processing by PostsController#edit as HTML
239
+ Parameters: {"id"=>"24"}
240
+ Rendering posts/edit.html.erb within layouts/application
241
+ Rendered posts/_form.html.erb (1.6ms)
242
+ Rendered posts/edit.html.erb within layouts/application (2.6ms)
243
+ Completed 200 OK in 6ms (Views: 4.5ms)
244
+ --------------------------------------------
245
+ PostsControllerTest: test_should_create_post
246
+ --------------------------------------------
247
+ Started POST "/posts" for 127.0.0.1 at 2016-12-06 17:00:27 +0900
248
+ Processing by PostsController#create as HTML
249
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
250
+ Redirected to http://www.example.com/posts/26
251
+ Completed 302 Found in 11ms
149
252
  ---------------------------------------------
150
253
  PostsControllerTest: test_should_destroy_post
151
254
  ---------------------------------------------
152
- ----------------------------------------
153
- PostsControllerTest: test_should_get_new
154
- ----------------------------------------
155
- Started GET "/posts/new" for 127.0.0.1 at 2016-12-05 17:58:03 +0900
156
- Processing by PostsController#new as HTML
157
- Rendering posts/new.html.erb within layouts/application
158
- Rendered posts/_form.html.erb (12.0ms)
159
- Rendered posts/new.html.erb within layouts/application (13.2ms)
160
- Completed 200 OK in 131ms (Views: 123.6ms)
255
+ Started DELETE "/posts/27" for 127.0.0.1 at 2016-12-06 17:00:27 +0900
256
+ Processing by PostsController#destroy as HTML
257
+ Parameters: {"id"=>"27"}
258
+ Redirected to http://www.example.com/posts
259
+ Completed 302 Found in 3ms
161
260
  --------------------------------------------
162
261
  PostsControllerTest: test_should_update_post
163
262
  --------------------------------------------
263
+ Started PATCH "/posts/28" for 127.0.0.1 at 2016-12-06 17:00:27 +0900
264
+ Processing by PostsController#update as HTML
265
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"28"}
266
+ Redirected to http://www.example.com/posts/28
267
+ Completed 302 Found in 4ms
268
+ ------------------------------------------
269
+ PostsControllerTest: test_should_show_post
270
+ ------------------------------------------
271
+ Started GET "/posts/29" for 127.0.0.1 at 2016-12-06 17:00:27 +0900
272
+ Processing by PostsController#show as HTML
273
+ Parameters: {"id"=>"29"}
274
+ Rendering posts/show.html.erb within layouts/application
275
+ Rendered posts/show.html.erb within layouts/application (1.0ms)
276
+ Completed 200 OK in 113ms (Views: 110.6ms)
164
277
  -----------------------------------------
165
278
  PostsControllerTest: test_should_get_edit
166
279
  -----------------------------------------
280
+ Started GET "/posts/30/edit" for 127.0.0.1 at 2016-12-06 17:00:27 +0900
281
+ Processing by PostsController#edit as HTML
282
+ Parameters: {"id"=>"30"}
283
+ Rendering posts/edit.html.erb within layouts/application
284
+ Rendered posts/_form.html.erb (12.2ms)
285
+ Rendered posts/edit.html.erb within layouts/application (13.2ms)
286
+ Completed 200 OK in 17ms (Views: 15.3ms)
167
287
  ------------------------------------------
168
288
  PostsControllerTest: test_should_get_index
169
289
  ------------------------------------------
170
- Started GET "/posts" for 127.0.0.1 at 2016-12-05 17:58:03 +0900
290
+ Started GET "/posts" for 127.0.0.1 at 2016-12-06 17:00:27 +0900
171
291
  Processing by PostsController#index as HTML
172
292
  Rendering posts/index.html.erb within layouts/application
173
- Rendered posts/index.html.erb within layouts/application (3.3ms)
174
- Completed 200 OK in 7ms (Views: 5.2ms)
293
+ Rendered posts/index.html.erb within layouts/application (4.9ms)
294
+ Completed 200 OK in 9ms (Views: 7.0ms)
295
+ ----------------------------------------
296
+ PostsControllerTest: test_should_get_new
297
+ ----------------------------------------
298
+ Started GET "/posts/new" for 127.0.0.1 at 2016-12-06 17:00:28 +0900
299
+ Processing by PostsController#new as HTML
300
+ Rendering posts/new.html.erb within layouts/application
301
+ Rendered posts/_form.html.erb (1.5ms)
302
+ Rendered posts/new.html.erb within layouts/application (2.2ms)
303
+ Completed 200 OK in 5ms (Views: 4.0ms)
304
+ ---------------------------------------------
305
+ PostsControllerTest: test_should_destroy_post
306
+ ---------------------------------------------
175
307
  ------------------------------------------
176
308
  PostsControllerTest: test_should_show_post
177
309
  ------------------------------------------
178
310
  --------------------------------------------
179
311
  PostsControllerTest: test_should_create_post
180
312
  --------------------------------------------
181
- Started POST "/posts" for 127.0.0.1 at 2016-12-05 17:58:03 +0900
182
- Processing by PostsController#create as HTML
183
- Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
184
- Redirected to
185
- Completed 500 Internal Server Error in 2ms
186
- -----------------------------------------
187
- PostsControllerTest: test_should_get_edit
188
- -----------------------------------------
189
- Started GET "/posts/0/edit" for 127.0.0.1 at 2016-12-05 17:58:31 +0900
190
- Processing by PostsController#edit as HTML
191
- Parameters: {"id"=>"0"}
192
- Completed 404 Not Found in 7ms
193
- ------------------------------------------
194
- PostsControllerTest: test_should_show_post
195
- ------------------------------------------
196
- Started GET "/posts/0" for 127.0.0.1 at 2016-12-05 17:58:31 +0900
197
- Processing by PostsController#show as HTML
198
- Parameters: {"id"=>"0"}
199
- Completed 404 Not Found in 1ms
200
313
  --------------------------------------------
201
314
  PostsControllerTest: test_should_update_post
202
315
  --------------------------------------------
203
- Started PATCH "/posts/0" for 127.0.0.1 at 2016-12-05 17:58:31 +0900
204
- Processing by PostsController#update as HTML
205
- Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"0"}
206
- Completed 404 Not Found in 1ms
207
- --------------------------------------------
208
- PostsControllerTest: test_should_create_post
209
- --------------------------------------------
210
- Started POST "/posts" for 127.0.0.1 at 2016-12-05 17:58:31 +0900
211
- Processing by PostsController#create as HTML
212
- Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
213
- Redirected to http://www.example.com/posts/0
214
- Completed 302 Found in 4ms
215
316
  ------------------------------------------
216
317
  PostsControllerTest: test_should_get_index
217
318
  ------------------------------------------
218
- Started GET "/posts" for 127.0.0.1 at 2016-12-05 17:58:31 +0900
219
- Processing by PostsController#index as HTML
220
- Rendering posts/index.html.erb within layouts/application
221
- Rendered posts/index.html.erb within layouts/application (6.8ms)
222
- Completed 200 OK in 119ms (Views: 117.6ms)
223
319
  ----------------------------------------
224
320
  PostsControllerTest: test_should_get_new
225
321
  ----------------------------------------
226
- Started GET "/posts/new" for 127.0.0.1 at 2016-12-05 17:58:31 +0900
227
- Processing by PostsController#new as HTML
228
- Rendering posts/new.html.erb within layouts/application
229
- Rendered posts/_form.html.erb (9.7ms)
230
- Rendered posts/new.html.erb within layouts/application (10.4ms)
231
- Completed 200 OK in 13ms (Views: 12.2ms)
322
+ -----------------------------------------
323
+ PostsControllerTest: test_should_get_edit
324
+ -----------------------------------------
232
325
  ---------------------------------------------
233
326
  PostsControllerTest: test_should_destroy_post
234
327
  ---------------------------------------------
235
- Started DELETE "/posts/0" for 127.0.0.1 at 2016-12-05 17:58:31 +0900
328
+ Started DELETE "/posts/40" for 127.0.0.1 at 2016-12-06 17:00:48 +0900
236
329
  Processing by PostsController#destroy as HTML
237
- Parameters: {"id"=>"0"}
238
- Completed 404 Not Found in 1ms
330
+ Parameters: {"id"=>"40"}
331
+ Redirected to http://www.example.com/posts
332
+ Completed 302 Found in 10ms
333
+ ------------------------------------------
334
+ PostsControllerTest: test_should_show_post
335
+ ------------------------------------------
336
+ Started GET "/posts/41" for 127.0.0.1 at 2016-12-06 17:00:48 +0900
337
+ Processing by PostsController#show as HTML
338
+ Parameters: {"id"=>"41"}
339
+ Rendering posts/show.html.erb within layouts/application
340
+ Rendered posts/show.html.erb within layouts/application (0.9ms)
341
+ Completed 200 OK in 94ms (Views: 91.9ms)
342
+ --------------------------------------------
343
+ PostsControllerTest: test_should_update_post
344
+ --------------------------------------------
345
+ Started PATCH "/posts/42" for 127.0.0.1 at 2016-12-06 17:00:49 +0900
346
+ Processing by PostsController#update as HTML
347
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"42"}
348
+ Redirected to http://www.example.com/posts/42
349
+ Completed 302 Found in 3ms
239
350
  ----------------------------------------
240
351
  PostsControllerTest: test_should_get_new
241
352
  ----------------------------------------
242
- Started GET "/posts/new" for 127.0.0.1 at 2016-12-05 18:03:01 +0900
353
+ Started GET "/posts/new" for 127.0.0.1 at 2016-12-06 17:00:49 +0900
243
354
  Processing by PostsController#new as HTML
244
355
  Rendering posts/new.html.erb within layouts/application
245
- Rendered posts/_form.html.erb (11.7ms)
246
- Rendered posts/new.html.erb within layouts/application (12.9ms)
247
- Completed 200 OK in 131ms (Views: 125.1ms)
356
+ Rendered posts/_form.html.erb (13.1ms)
357
+ Rendered posts/new.html.erb within layouts/application (14.0ms)
358
+ Completed 200 OK in 17ms (Views: 16.1ms)
359
+ -----------------------------------------
360
+ PostsControllerTest: test_should_get_edit
361
+ -----------------------------------------
362
+ Started GET "/posts/44/edit" for 127.0.0.1 at 2016-12-06 17:00:49 +0900
363
+ Processing by PostsController#edit as HTML
364
+ Parameters: {"id"=>"44"}
365
+ Rendering posts/edit.html.erb within layouts/application
366
+ Rendered posts/_form.html.erb (1.8ms)
367
+ Rendered posts/edit.html.erb within layouts/application (2.6ms)
368
+ Completed 200 OK in 7ms (Views: 4.8ms)
248
369
  --------------------------------------------
249
370
  PostsControllerTest: test_should_create_post
250
371
  --------------------------------------------
251
- Started POST "/posts" for 127.0.0.1 at 2016-12-05 18:03:01 +0900
372
+ Started POST "/posts" for 127.0.0.1 at 2016-12-06 17:00:49 +0900
252
373
  Processing by PostsController#create as HTML
253
374
  Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
254
- Redirected to http://www.example.com/posts/0
255
- Completed 302 Found in 2ms
375
+ Redirected to http://www.example.com/posts/46
376
+ Completed 302 Found in 3ms
377
+ ------------------------------------------
378
+ PostsControllerTest: test_should_get_index
379
+ ------------------------------------------
380
+ Started GET "/posts" for 127.0.0.1 at 2016-12-06 17:00:49 +0900
381
+ Processing by PostsController#index as HTML
382
+ Rendering posts/index.html.erb within layouts/application
383
+ Rendered posts/index.html.erb within layouts/application (6.6ms)
384
+ Completed 200 OK in 11ms (Views: 9.1ms)
385
+ ------------------------------------------
386
+ PostsControllerTest: test_should_show_post
387
+ ------------------------------------------
388
+ Started GET "/posts/48" for 127.0.0.1 at 2016-12-06 17:01:22 +0900
389
+ Processing by PostsController#show as HTML
390
+ Parameters: {"id"=>"48"}
391
+ Rendering posts/show.html.erb within layouts/application
392
+ Rendered posts/show.html.erb within layouts/application (6.6ms)
393
+ Completed 200 OK in 104ms (Views: 96.8ms)
256
394
  -----------------------------------------
257
395
  PostsControllerTest: test_should_get_edit
258
396
  -----------------------------------------
259
- Started GET "/posts/0/edit" for 127.0.0.1 at 2016-12-05 18:03:01 +0900
397
+ Started GET "/posts/49/edit" for 127.0.0.1 at 2016-12-06 17:01:22 +0900
260
398
  Processing by PostsController#edit as HTML
261
- Parameters: {"id"=>"0"}
262
- Completed 404 Not Found in 2ms
399
+ Parameters: {"id"=>"49"}
400
+ Rendering posts/edit.html.erb within layouts/application
401
+ Rendered posts/_form.html.erb (31.9ms)
402
+ Rendered posts/edit.html.erb within layouts/application (32.7ms)
403
+ Completed 200 OK in 36ms (Views: 34.7ms)
263
404
  ------------------------------------------
264
405
  PostsControllerTest: test_should_get_index
265
406
  ------------------------------------------
266
- Started GET "/posts" for 127.0.0.1 at 2016-12-05 18:03:01 +0900
407
+ Started GET "/posts" for 127.0.0.1 at 2016-12-06 17:01:22 +0900
267
408
  Processing by PostsController#index as HTML
268
409
  Rendering posts/index.html.erb within layouts/application
269
- Rendered posts/index.html.erb within layouts/application (5.0ms)
270
- Completed 200 OK in 9ms (Views: 7.1ms)
410
+ Rendered posts/index.html.erb within layouts/application (6.4ms)
411
+ Completed 200 OK in 11ms (Views: 8.5ms)
412
+ --------------------------------------------
413
+ PostsControllerTest: test_should_create_post
414
+ --------------------------------------------
415
+ Started POST "/posts" for 127.0.0.1 at 2016-12-06 17:01:22 +0900
416
+ Processing by PostsController#create as HTML
417
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
418
+ Redirected to http://www.example.com/posts/52
419
+ Completed 302 Found in 2ms
271
420
  ---------------------------------------------
272
421
  PostsControllerTest: test_should_destroy_post
273
422
  ---------------------------------------------
274
- Started DELETE "/posts/0" for 127.0.0.1 at 2016-12-05 18:03:01 +0900
423
+ Started DELETE "/posts/53" for 127.0.0.1 at 2016-12-06 17:01:22 +0900
275
424
  Processing by PostsController#destroy as HTML
276
- Parameters: {"id"=>"0"}
277
- Completed 404 Not Found in 2ms
425
+ Parameters: {"id"=>"53"}
426
+ Redirected to http://www.example.com/posts
427
+ Completed 302 Found in 2ms
428
+ ----------------------------------------
429
+ PostsControllerTest: test_should_get_new
430
+ ----------------------------------------
431
+ Started GET "/posts/new" for 127.0.0.1 at 2016-12-06 17:01:22 +0900
432
+ Processing by PostsController#new as HTML
433
+ Rendering posts/new.html.erb within layouts/application
434
+ Rendered posts/_form.html.erb (1.5ms)
435
+ Rendered posts/new.html.erb within layouts/application (2.2ms)
436
+ Completed 200 OK in 5ms (Views: 4.1ms)
278
437
  --------------------------------------------
279
438
  PostsControllerTest: test_should_update_post
280
439
  --------------------------------------------
281
- Started PATCH "/posts/0" for 127.0.0.1 at 2016-12-05 18:03:01 +0900
440
+ Started PATCH "/posts/55" for 127.0.0.1 at 2016-12-06 17:01:22 +0900
282
441
  Processing by PostsController#update as HTML
283
- Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"0"}
284
- Completed 404 Not Found in 2ms
285
- ------------------------------------------
286
- PostsControllerTest: test_should_show_post
287
- ------------------------------------------
288
- Started GET "/posts/0" for 127.0.0.1 at 2016-12-05 18:03:01 +0900
289
- Processing by PostsController#show as HTML
290
- Parameters: {"id"=>"0"}
291
- Completed 404 Not Found in 2ms
442
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"55"}
443
+ Redirected to http://www.example.com/posts/55
444
+ Completed 302 Found in 3ms
292
445
  --------------------------------------------
293
446
  PostsControllerTest: test_should_update_post
294
447
  --------------------------------------------
295
448
  ------------------------------------------
296
449
  PostsControllerTest: test_should_show_post
297
450
  ------------------------------------------
451
+ ----------------------------------------
452
+ PostsControllerTest: test_should_get_new
453
+ ----------------------------------------
298
454
  ---------------------------------------------
299
455
  PostsControllerTest: test_should_destroy_post
300
456
  ---------------------------------------------
301
- ------------------------------------------
302
- PostsControllerTest: test_should_get_index
303
- ------------------------------------------
457
+ -----------------------------------------
458
+ PostsControllerTest: test_should_get_edit
459
+ -----------------------------------------
304
460
  --------------------------------------------
305
461
  PostsControllerTest: test_should_create_post
306
462
  --------------------------------------------
307
- ----------------------------------------
463
+ ------------------------------------------
464
+ PostsControllerTest: test_should_get_index
465
+ ------------------------------------------
466
+ ------------------------------------------
467
+ PostsControllerTest: test_should_get_index
468
+ ------------------------------------------
469
+ ---------------------------------------------
470
+ PostsControllerTest: test_should_destroy_post
471
+ ---------------------------------------------
472
+ ----------------------------------------
308
473
  PostsControllerTest: test_should_get_new
309
474
  ----------------------------------------
310
- -----------------------------------------
311
- PostsControllerTest: test_should_get_edit
312
- -----------------------------------------
313
- -----------------------------------------
314
- PostsControllerTest: test_should_get_edit
315
- -----------------------------------------
316
475
  ------------------------------------------
317
476
  PostsControllerTest: test_should_show_post
318
477
  ------------------------------------------
478
+ -----------------------------------------
479
+ PostsControllerTest: test_should_get_edit
480
+ -----------------------------------------
319
481
  --------------------------------------------
320
482
  PostsControllerTest: test_should_create_post
321
483
  --------------------------------------------
322
484
  --------------------------------------------
323
485
  PostsControllerTest: test_should_update_post
324
486
  --------------------------------------------
325
- ---------------------------------------------
326
- PostsControllerTest: test_should_destroy_post
327
- ---------------------------------------------
487
+ -----------------------------------------
488
+ PostsControllerTest: test_should_get_edit
489
+ -----------------------------------------
328
490
  ------------------------------------------
329
491
  PostsControllerTest: test_should_get_index
330
492
  ------------------------------------------
331
- ----------------------------------------
332
- PostsControllerTest: test_should_get_new
333
- ----------------------------------------
493
+ ---------------------------------------------
494
+ PostsControllerTest: test_should_destroy_post
495
+ ---------------------------------------------
334
496
  ----------------------------------------
335
497
  PostsControllerTest: test_should_get_new
336
498
  ----------------------------------------
337
499
  --------------------------------------------
338
- PostsControllerTest: test_should_update_post
500
+ PostsControllerTest: test_should_create_post
339
501
  --------------------------------------------
340
- ---------------------------------------------
341
- PostsControllerTest: test_should_destroy_post
342
- ---------------------------------------------
343
- -----------------------------------------
344
- PostsControllerTest: test_should_get_edit
345
- -----------------------------------------
346
- ------------------------------------------
347
- PostsControllerTest: test_should_get_index
348
- ------------------------------------------
349
502
  ------------------------------------------
350
503
  PostsControllerTest: test_should_show_post
351
504
  ------------------------------------------
352
505
  --------------------------------------------
353
- PostsControllerTest: test_should_create_post
506
+ PostsControllerTest: test_should_update_post
354
507
  --------------------------------------------
355
508
  -----------------------------------------
356
509
  PostsControllerTest: test_should_get_edit
357
510
  -----------------------------------------
358
511
  ------------------------------------------
359
- PostsControllerTest: test_should_get_index
360
- ------------------------------------------
361
- ----------------------------------------
362
- PostsControllerTest: test_should_get_new
363
- ----------------------------------------
364
- ------------------------------------------
365
512
  PostsControllerTest: test_should_show_post
366
513
  ------------------------------------------
367
514
  --------------------------------------------
368
515
  PostsControllerTest: test_should_create_post
369
516
  --------------------------------------------
370
- ---------------------------------------------
371
- PostsControllerTest: test_should_destroy_post
372
- ---------------------------------------------
373
517
  --------------------------------------------
374
518
  PostsControllerTest: test_should_update_post
375
519
  --------------------------------------------
376
- --------------------------------------------
377
- PostsControllerTest: test_should_create_post
378
- --------------------------------------------
379
- -----------------------------------------
380
- PostsControllerTest: test_should_get_edit
381
- -----------------------------------------
382
- ------------------------------------------
383
- PostsControllerTest: test_should_show_post
384
- ------------------------------------------
385
520
  ---------------------------------------------
386
521
  PostsControllerTest: test_should_destroy_post
387
522
  ---------------------------------------------
388
- ------------------------------------------
389
- PostsControllerTest: test_should_get_index
390
- ------------------------------------------
391
523
  ----------------------------------------
392
524
  PostsControllerTest: test_should_get_new
393
525
  ----------------------------------------
394
- --------------------------------------------
395
- PostsControllerTest: test_should_update_post
396
- --------------------------------------------
526
+ ------------------------------------------
527
+ PostsControllerTest: test_should_get_index
528
+ ------------------------------------------
397
529
  -----------------------------------------
398
530
  PostsControllerTest: test_should_get_edit
399
531
  -----------------------------------------
400
532
  ------------------------------------------
401
533
  PostsControllerTest: test_should_get_index
402
534
  ------------------------------------------
403
- ----------------------------------------
404
- PostsControllerTest: test_should_get_new
405
- ----------------------------------------
406
535
  ------------------------------------------
407
536
  PostsControllerTest: test_should_show_post
408
537
  ------------------------------------------
538
+ ---------------------------------------------
539
+ PostsControllerTest: test_should_destroy_post
540
+ ---------------------------------------------
541
+ ----------------------------------------
542
+ PostsControllerTest: test_should_get_new
543
+ ----------------------------------------
409
544
  --------------------------------------------
410
- PostsControllerTest: test_should_create_post
545
+ PostsControllerTest: test_should_update_post
411
546
  --------------------------------------------
412
547
  --------------------------------------------
413
- PostsControllerTest: test_should_update_post
548
+ PostsControllerTest: test_should_create_post
414
549
  --------------------------------------------
550
+ ------------------------------------------
551
+ PostsControllerTest: test_should_get_index
552
+ ------------------------------------------
415
553
  ---------------------------------------------
416
554
  PostsControllerTest: test_should_destroy_post
417
555
  ---------------------------------------------
556
+ --------------------------------------------
557
+ PostsControllerTest: test_should_create_post
558
+ --------------------------------------------
559
+ ----------------------------------------
560
+ PostsControllerTest: test_should_get_new
561
+ ----------------------------------------
418
562
  -----------------------------------------
419
563
  PostsControllerTest: test_should_get_edit
420
564
  -----------------------------------------
565
+ ------------------------------------------
566
+ PostsControllerTest: test_should_show_post
567
+ ------------------------------------------
421
568
  --------------------------------------------
422
569
  PostsControllerTest: test_should_update_post
423
570
  --------------------------------------------
@@ -430,42 +577,21 @@ PostsControllerTest: test_should_get_index
430
577
  ------------------------------------------
431
578
  PostsControllerTest: test_should_show_post
432
579
  ------------------------------------------
433
- ---------------------------------------------
434
- PostsControllerTest: test_should_destroy_post
435
- ---------------------------------------------
580
+ -----------------------------------------
581
+ PostsControllerTest: test_should_get_edit
582
+ -----------------------------------------
436
583
  ----------------------------------------
437
584
  PostsControllerTest: test_should_get_new
438
585
  ----------------------------------------
439
586
  ---------------------------------------------
440
587
  PostsControllerTest: test_should_destroy_post
441
588
  ---------------------------------------------
442
- ------------------------------------------
443
- PostsControllerTest: test_should_get_index
444
- ------------------------------------------
445
- ------------------------------------------
446
- PostsControllerTest: test_should_show_post
447
- ------------------------------------------
448
- --------------------------------------------
449
- PostsControllerTest: test_should_create_post
450
- --------------------------------------------
451
- -----------------------------------------
452
- PostsControllerTest: test_should_get_edit
453
- -----------------------------------------
454
589
  --------------------------------------------
455
590
  PostsControllerTest: test_should_update_post
456
591
  --------------------------------------------
457
- ----------------------------------------
458
- PostsControllerTest: test_should_get_new
459
- ----------------------------------------
460
592
  ---------------------------------------------
461
593
  PostsControllerTest: test_should_destroy_post
462
594
  ---------------------------------------------
463
- ------------------------------------------
464
- PostsControllerTest: test_should_get_index
465
- ------------------------------------------
466
- ------------------------------------------
467
- PostsControllerTest: test_should_show_post
468
- ------------------------------------------
469
595
  ----------------------------------------
470
596
  PostsControllerTest: test_should_get_new
471
597
  ----------------------------------------
@@ -478,366 +604,508 @@ PostsControllerTest: test_should_get_edit
478
604
  --------------------------------------------
479
605
  PostsControllerTest: test_should_update_post
480
606
  --------------------------------------------
481
- --------------------------------------------
482
- PostsControllerTest: test_should_create_post
483
- --------------------------------------------
607
+ ------------------------------------------
608
+ PostsControllerTest: test_should_get_index
609
+ ------------------------------------------
610
+ ------------------------------------------
611
+ PostsControllerTest: test_should_show_post
612
+ ------------------------------------------
484
613
  -----------------------------------------
485
614
  PostsControllerTest: test_should_get_edit
486
615
  -----------------------------------------
616
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2016-12-20 16:01:12 +0900
617
+ Processing by PostsController#edit as HTML
618
+ Parameters: {"id"=>"1"}
619
+ Rendering posts/edit.html.erb within layouts/application
620
+ Rendered posts/_form.html.erb (46.7ms)
621
+ Rendered posts/edit.html.erb within layouts/application (60.2ms)
622
+ Completed 200 OK in 831ms (Views: 786.2ms)
623
+ ---------------------------------------------
624
+ PostsControllerTest: test_should_destroy_post
625
+ ---------------------------------------------
626
+ Started DELETE "/posts/1" for 127.0.0.1 at 2016-12-20 16:01:14 +0900
627
+ Processing by PostsController#destroy as HTML
628
+ Parameters: {"id"=>"1"}
629
+ Redirected to http://www.example.com/posts
630
+ Completed 302 Found in 10ms
631
+ --------------------------------------------
632
+ PostsControllerTest: test_should_update_post
633
+ --------------------------------------------
634
+ Started PATCH "/posts/1" for 127.0.0.1 at 2016-12-20 16:01:14 +0900
635
+ Processing by PostsController#update as HTML
636
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
637
+ Redirected to http://www.example.com/posts/1
638
+ Completed 302 Found in 9ms
487
639
  ------------------------------------------
488
640
  PostsControllerTest: test_should_get_index
489
641
  ------------------------------------------
642
+ Started GET "/posts" for 127.0.0.1 at 2016-12-20 16:01:14 +0900
643
+ Processing by PostsController#index as HTML
644
+ Rendering posts/index.html.erb within layouts/application
645
+ Rendered posts/index.html.erb within layouts/application (5.7ms)
646
+ Completed 200 OK in 15ms (Views: 11.7ms)
647
+ --------------------------------------------
648
+ PostsControllerTest: test_should_create_post
649
+ --------------------------------------------
650
+ Started POST "/posts" for 127.0.0.1 at 2016-12-20 16:01:14 +0900
651
+ Processing by PostsController#create as HTML
652
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
653
+ Redirected to http://www.example.com/posts/2
654
+ Completed 302 Found in 5ms
490
655
  ----------------------------------------
491
656
  PostsControllerTest: test_should_get_new
492
657
  ----------------------------------------
493
- --------------------------------------------
494
- PostsControllerTest: test_should_update_post
495
- --------------------------------------------
496
658
  ------------------------------------------
497
659
  PostsControllerTest: test_should_show_post
498
660
  ------------------------------------------
661
+ ------------------------------------------
662
+ PostsControllerTest: test_should_show_post
663
+ ------------------------------------------
664
+ -----------------------------------------
665
+ PostsControllerTest: test_should_get_edit
666
+ -----------------------------------------
499
667
  ---------------------------------------------
500
668
  PostsControllerTest: test_should_destroy_post
501
669
  ---------------------------------------------
670
+ ------------------------------------------
671
+ PostsControllerTest: test_should_get_index
672
+ ------------------------------------------
502
673
  --------------------------------------------
503
674
  PostsControllerTest: test_should_create_post
504
675
  --------------------------------------------
505
- Started POST "/posts" for 127.0.0.1 at 2016-12-05 18:14:17 +0900
506
- Processing by PostsController#create as HTML
507
- Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
508
- Redirected to http://www.example.com/posts/97
509
- Completed 302 Found in 11ms
510
676
  ----------------------------------------
511
677
  PostsControllerTest: test_should_get_new
512
678
  ----------------------------------------
513
- Started GET "/posts/new" for 127.0.0.1 at 2016-12-05 18:14:17 +0900
514
- Processing by PostsController#new as HTML
515
- Rendering posts/new.html.erb within layouts/application
516
- Rendered posts/_form.html.erb (11.4ms)
517
- Rendered posts/new.html.erb within layouts/application (12.9ms)
518
- Completed 200 OK in 175ms (Views: 174.0ms)
519
- ------------------------------------------
520
- PostsControllerTest: test_should_show_post
521
- ------------------------------------------
522
- Started GET "/posts/99" for 127.0.0.1 at 2016-12-05 18:14:17 +0900
523
- Processing by PostsController#show as HTML
524
- Parameters: {"id"=>"99"}
525
- Rendering posts/show.html.erb within layouts/application
526
- Rendered posts/show.html.erb within layouts/application (0.6ms)
527
- Completed 200 OK in 5ms (Views: 2.6ms)
528
679
  --------------------------------------------
529
680
  PostsControllerTest: test_should_update_post
530
681
  --------------------------------------------
531
- Started PATCH "/posts/100" for 127.0.0.1 at 2016-12-05 18:14:17 +0900
682
+ --------------------------------------------
683
+ PostsControllerTest: test_should_update_post
684
+ --------------------------------------------
685
+ Started PATCH "/posts/1" for 127.0.0.1 at 2016-12-20 16:05:19 +0900
532
686
  Processing by PostsController#update as HTML
533
- Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"100"}
534
- Redirected to http://www.example.com/posts/100
535
- Completed 302 Found in 3ms
687
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
688
+ Redirected to http://www.example.com/posts/1
689
+ Completed 302 Found in 36ms
536
690
  ------------------------------------------
537
691
  PostsControllerTest: test_should_get_index
538
692
  ------------------------------------------
539
- Started GET "/posts" for 127.0.0.1 at 2016-12-05 18:14:17 +0900
693
+ Started GET "/posts" for 127.0.0.1 at 2016-12-20 16:05:20 +0900
540
694
  Processing by PostsController#index as HTML
541
695
  Rendering posts/index.html.erb within layouts/application
542
- Rendered posts/index.html.erb within layouts/application (16.1ms)
543
- Completed 200 OK in 22ms (Views: 18.8ms)
696
+ Rendered posts/index.html.erb within layouts/application (7.6ms)
697
+ Completed 200 OK in 135ms (Views: 132.2ms)
698
+ ------------------------------------------
699
+ PostsControllerTest: test_should_show_post
700
+ ------------------------------------------
701
+ Started GET "/posts/1" for 127.0.0.1 at 2016-12-20 16:05:20 +0900
702
+ Processing by PostsController#show as HTML
703
+ Parameters: {"id"=>"1"}
704
+ Rendering posts/show.html.erb within layouts/application
705
+ Rendered posts/show.html.erb within layouts/application (1.7ms)
706
+ Completed 200 OK in 14ms (Views: 7.7ms)
544
707
  ---------------------------------------------
545
708
  PostsControllerTest: test_should_destroy_post
546
709
  ---------------------------------------------
547
- Started DELETE "/posts/102" for 127.0.0.1 at 2016-12-05 18:14:17 +0900
710
+ Started DELETE "/posts/1" for 127.0.0.1 at 2016-12-20 16:05:20 +0900
548
711
  Processing by PostsController#destroy as HTML
549
- Parameters: {"id"=>"102"}
550
- Completed 500 Internal Server Error in 3ms
712
+ Parameters: {"id"=>"1"}
713
+ Redirected to http://www.example.com/posts
714
+ Completed 302 Found in 9ms
715
+ --------------------------------------------
716
+ PostsControllerTest: test_should_create_post
717
+ --------------------------------------------
718
+ Started POST "/posts" for 127.0.0.1 at 2016-12-20 16:05:20 +0900
719
+ Processing by PostsController#create as HTML
720
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
721
+ Redirected to http://www.example.com/posts/2
722
+ Completed 302 Found in 4ms
551
723
  -----------------------------------------
552
724
  PostsControllerTest: test_should_get_edit
553
725
  -----------------------------------------
554
- Started GET "/posts/103/edit" for 127.0.0.1 at 2016-12-05 18:14:17 +0900
555
- Processing by PostsController#edit as HTML
556
- Parameters: {"id"=>"103"}
557
- Rendering posts/edit.html.erb within layouts/application
558
- Rendered posts/_form.html.erb (3.3ms)
559
- Rendered posts/edit.html.erb within layouts/application (8.0ms)
560
- Completed 200 OK in 22ms (Views: 17.6ms)
726
+ ----------------------------------------
727
+ PostsControllerTest: test_should_get_new
728
+ ----------------------------------------
729
+ ----------------------------------------
730
+ PostsControllerTest: test_should_get_new
731
+ ----------------------------------------
561
732
  --------------------------------------------
562
733
  PostsControllerTest: test_should_update_post
563
734
  --------------------------------------------
564
- Started PATCH "/posts/104" for 127.0.0.1 at 2016-12-05 18:15:05 +0900
565
- Processing by PostsController#update as HTML
566
- Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"104"}
567
- Redirected to http://www.example.com/posts/104
568
- Completed 302 Found in 11ms
735
+ ---------------------------------------------
736
+ PostsControllerTest: test_should_destroy_post
737
+ ---------------------------------------------
569
738
  --------------------------------------------
570
739
  PostsControllerTest: test_should_create_post
571
740
  --------------------------------------------
572
- Started POST "/posts" for 127.0.0.1 at 2016-12-05 18:15:05 +0900
573
- Processing by PostsController#create as HTML
574
- Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
575
- Redirected to http://www.example.com/posts/106
576
- Completed 302 Found in 2ms
577
741
  ------------------------------------------
578
742
  PostsControllerTest: test_should_get_index
579
743
  ------------------------------------------
580
- Started GET "/posts" for 127.0.0.1 at 2016-12-05 18:15:05 +0900
581
- Processing by PostsController#index as HTML
582
- Rendering posts/index.html.erb within layouts/application
583
- Rendered posts/index.html.erb within layouts/application (13.8ms)
584
- Completed 200 OK in 138ms (Views: 135.6ms)
585
- ----------------------------------------
586
- PostsControllerTest: test_should_get_new
587
- ----------------------------------------
588
- Started GET "/posts/new" for 127.0.0.1 at 2016-12-05 18:15:05 +0900
589
- Processing by PostsController#new as HTML
590
- Rendering posts/new.html.erb within layouts/application
591
- Rendered posts/_form.html.erb (10.8ms)
592
- Rendered posts/new.html.erb within layouts/application (11.6ms)
593
- Completed 200 OK in 14ms (Views: 13.4ms)
594
744
  -----------------------------------------
595
745
  PostsControllerTest: test_should_get_edit
596
746
  -----------------------------------------
597
- Started GET "/posts/109/edit" for 127.0.0.1 at 2016-12-05 18:15:05 +0900
598
- Processing by PostsController#edit as HTML
599
- Parameters: {"id"=>"109"}
600
- Rendering posts/edit.html.erb within layouts/application
601
- Rendered posts/_form.html.erb (1.4ms)
602
- Rendered posts/edit.html.erb within layouts/application (2.1ms)
603
- Completed 200 OK in 6ms (Views: 3.9ms)
604
- ---------------------------------------------
605
- PostsControllerTest: test_should_destroy_post
606
- ---------------------------------------------
607
- Started DELETE "/posts/110" for 127.0.0.1 at 2016-12-05 18:15:05 +0900
608
- Processing by PostsController#destroy as HTML
609
- Parameters: {"id"=>"110"}
610
- Completed 500 Internal Server Error in 3ms
611
747
  ------------------------------------------
612
748
  PostsControllerTest: test_should_show_post
613
749
  ------------------------------------------
614
- Started GET "/posts/111" for 127.0.0.1 at 2016-12-05 18:15:05 +0900
750
+ --------------------------------------------
751
+ PostsControllerTest: test_should_update_post
752
+ --------------------------------------------
753
+ Started PATCH "/posts/1" for 127.0.0.1 at 2016-12-20 16:06:10 +0900
754
+ Processing by PostsController#update as HTML
755
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
756
+ Redirected to http://www.example.com/posts/1
757
+ Completed 302 Found in 38ms
758
+ ------------------------------------------
759
+ PostsControllerTest: test_should_show_post
760
+ ------------------------------------------
761
+ Started GET "/posts/1" for 127.0.0.1 at 2016-12-20 16:06:10 +0900
615
762
  Processing by PostsController#show as HTML
616
- Parameters: {"id"=>"111"}
763
+ Parameters: {"id"=>"1"}
617
764
  Rendering posts/show.html.erb within layouts/application
618
- Rendered posts/show.html.erb within layouts/application (0.5ms)
619
- Completed 200 OK in 4ms (Views: 2.5ms)
765
+ Rendered posts/show.html.erb within layouts/application (1.0ms)
766
+ Completed 200 OK in 131ms (Views: 129.2ms)
620
767
  --------------------------------------------
621
768
  PostsControllerTest: test_should_create_post
622
769
  --------------------------------------------
623
- Started POST "/posts" for 127.0.0.1 at 2016-12-05 18:16:35 +0900
770
+ Started POST "/posts" for 127.0.0.1 at 2016-12-20 16:06:10 +0900
624
771
  Processing by PostsController#create as HTML
625
772
  Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
626
- Redirected to http://www.example.com/posts/113
627
- Completed 302 Found in 11ms
628
- ---------------------------------------------
629
- PostsControllerTest: test_should_destroy_post
630
- ---------------------------------------------
631
- Started DELETE "/posts/114" for 127.0.0.1 at 2016-12-05 18:16:35 +0900
632
- Processing by PostsController#destroy as HTML
633
- Parameters: {"id"=>"114"}
634
- Completed 500 Internal Server Error in 3ms
773
+ Redirected to http://www.example.com/posts/2
774
+ Completed 302 Found in 2ms
635
775
  -----------------------------------------
636
776
  PostsControllerTest: test_should_get_edit
637
777
  -----------------------------------------
638
- Started GET "/posts/115/edit" for 127.0.0.1 at 2016-12-05 18:16:35 +0900
778
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2016-12-20 16:06:10 +0900
639
779
  Processing by PostsController#edit as HTML
640
- Parameters: {"id"=>"115"}
780
+ Parameters: {"id"=>"1"}
641
781
  Rendering posts/edit.html.erb within layouts/application
642
- Rendered posts/_form.html.erb (14.0ms)
643
- Rendered posts/edit.html.erb within layouts/application (15.5ms)
644
- Completed 200 OK in 137ms (Views: 134.7ms)
645
- --------------------------------------------
646
- PostsControllerTest: test_should_update_post
647
- --------------------------------------------
648
- Started PATCH "/posts/116" for 127.0.0.1 at 2016-12-05 18:16:35 +0900
649
- Processing by PostsController#update as HTML
650
- Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"116"}
651
- Redirected to http://www.example.com/posts/116
652
- Completed 302 Found in 3ms
782
+ Rendered posts/_form.html.erb (9.5ms)
783
+ Rendered posts/edit.html.erb within layouts/application (10.3ms)
784
+ Completed 200 OK in 15ms (Views: 12.2ms)
785
+ ---------------------------------------------
786
+ PostsControllerTest: test_should_destroy_post
787
+ ---------------------------------------------
788
+ Started DELETE "/posts/1" for 127.0.0.1 at 2016-12-20 16:06:10 +0900
789
+ Processing by PostsController#destroy as HTML
790
+ Parameters: {"id"=>"1"}
791
+ Redirected to http://www.example.com/posts
792
+ Completed 302 Found in 7ms
653
793
  ------------------------------------------
654
794
  PostsControllerTest: test_should_get_index
655
795
  ------------------------------------------
656
- Started GET "/posts" for 127.0.0.1 at 2016-12-05 18:16:35 +0900
657
- Processing by PostsController#index as HTML
658
- Rendering posts/index.html.erb within layouts/application
659
- Rendered posts/index.html.erb within layouts/application (13.9ms)
660
- Completed 200 OK in 19ms (Views: 15.9ms)
661
796
  ----------------------------------------
662
797
  PostsControllerTest: test_should_get_new
663
798
  ----------------------------------------
664
- Started GET "/posts/new" for 127.0.0.1 at 2016-12-05 18:16:35 +0900
665
- Processing by PostsController#new as HTML
666
- Rendering posts/new.html.erb within layouts/application
667
- Rendered posts/_form.html.erb (1.4ms)
668
- Rendered posts/new.html.erb within layouts/application (2.0ms)
669
- Completed 200 OK in 4ms (Views: 3.6ms)
670
- ------------------------------------------
671
- PostsControllerTest: test_should_show_post
672
- ------------------------------------------
673
- Started GET "/posts/119" for 127.0.0.1 at 2016-12-05 18:16:35 +0900
674
- Processing by PostsController#show as HTML
675
- Parameters: {"id"=>"119"}
676
- Rendering posts/show.html.erb within layouts/application
677
- Rendered posts/show.html.erb within layouts/application (0.5ms)
678
- Completed 200 OK in 6ms (Views: 2.2ms)
679
- --------------------------------------------
680
- PostsControllerTest: test_should_create_post
681
- --------------------------------------------
682
- Started POST "/posts" for 127.0.0.1 at 2016-12-05 18:21:48 +0900
683
- Processing by PostsController#create as HTML
684
- Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
685
- Redirected to http://www.example.com/posts/121
686
- Completed 302 Found in 12ms
799
+ ---------------------------------------------
800
+ PostsControllerTest: test_should_destroy_post
801
+ ---------------------------------------------
802
+ Started DELETE "/posts/1" for 127.0.0.1 at 2016-12-20 16:08:01 +0900
803
+ Processing by PostsController#destroy as HTML
804
+ Parameters: {"id"=>"1"}
805
+ Redirected to http://www.example.com/posts
806
+ Completed 302 Found in 36ms
687
807
  ------------------------------------------
688
808
  PostsControllerTest: test_should_get_index
689
809
  ------------------------------------------
690
- Started GET "/posts" for 127.0.0.1 at 2016-12-05 18:21:48 +0900
810
+ Started GET "/posts" for 127.0.0.1 at 2016-12-20 16:08:01 +0900
691
811
  Processing by PostsController#index as HTML
692
812
  Rendering posts/index.html.erb within layouts/application
693
- Rendered posts/index.html.erb within layouts/application (15.8ms)
694
- Completed 200 OK in 130ms (Views: 124.2ms)
695
- ------------------------------------------
696
- PostsControllerTest: test_should_show_post
697
- ------------------------------------------
698
- Started GET "/posts/123" for 127.0.0.1 at 2016-12-05 18:21:48 +0900
699
- Processing by PostsController#show as HTML
700
- Parameters: {"id"=>"123"}
701
- Rendering posts/show.html.erb within layouts/application
702
- Rendered posts/show.html.erb within layouts/application (0.5ms)
703
- Completed 200 OK in 5ms (Views: 2.2ms)
813
+ Rendered posts/index.html.erb within layouts/application (8.7ms)
814
+ Completed 200 OK in 139ms (Views: 137.0ms)
815
+ --------------------------------------------
816
+ PostsControllerTest: test_should_update_post
817
+ --------------------------------------------
818
+ Started PATCH "/posts/1" for 127.0.0.1 at 2016-12-20 16:08:01 +0900
819
+ Processing by PostsController#update as HTML
820
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
821
+ Redirected to http://www.example.com/posts/1
822
+ Completed 302 Found in 10ms
704
823
  -----------------------------------------
705
824
  PostsControllerTest: test_should_get_edit
706
825
  -----------------------------------------
707
- Started GET "/posts/124/edit" for 127.0.0.1 at 2016-12-05 18:21:48 +0900
826
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2016-12-20 16:08:01 +0900
708
827
  Processing by PostsController#edit as HTML
709
- Parameters: {"id"=>"124"}
828
+ Parameters: {"id"=>"1"}
710
829
  Rendering posts/edit.html.erb within layouts/application
711
- Rendered posts/_form.html.erb (11.2ms)
712
- Rendered posts/edit.html.erb within layouts/application (12.0ms)
713
- Completed 200 OK in 16ms (Views: 13.8ms)
830
+ Rendered posts/_form.html.erb (26.7ms)
831
+ Rendered posts/edit.html.erb within layouts/application (29.4ms)
832
+ Completed 200 OK in 40ms (Views: 33.6ms)
714
833
  ----------------------------------------
715
834
  PostsControllerTest: test_should_get_new
716
835
  ----------------------------------------
717
- Started GET "/posts/new" for 127.0.0.1 at 2016-12-05 18:21:49 +0900
836
+ Started GET "/posts/new" for 127.0.0.1 at 2016-12-20 16:08:02 +0900
718
837
  Processing by PostsController#new as HTML
719
838
  Rendering posts/new.html.erb within layouts/application
720
- Rendered posts/_form.html.erb (1.5ms)
721
- Rendered posts/new.html.erb within layouts/application (2.3ms)
722
- Completed 200 OK in 5ms (Views: 4.4ms)
723
- ---------------------------------------------
724
- PostsControllerTest: test_should_destroy_post
725
- ---------------------------------------------
726
- Started DELETE "/posts/126" for 127.0.0.1 at 2016-12-05 18:21:49 +0900
727
- Processing by PostsController#destroy as HTML
728
- Parameters: {"id"=>"126"}
729
- Redirected to http://www.example.com/posts
730
- Completed 302 Found in 3ms
839
+ Rendered posts/_form.html.erb (4.9ms)
840
+ Rendered posts/new.html.erb within layouts/application (7.4ms)
841
+ Completed 200 OK in 39ms (Views: 13.8ms)
842
+ ------------------------------------------
843
+ PostsControllerTest: test_should_show_post
844
+ ------------------------------------------
731
845
  --------------------------------------------
732
- PostsControllerTest: test_should_update_post
846
+ PostsControllerTest: test_should_create_post
733
847
  --------------------------------------------
734
- Started PATCH "/posts/127" for 127.0.0.1 at 2016-12-05 18:21:49 +0900
735
- Processing by PostsController#update as HTML
736
- Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"127"}
737
- Redirected to http://www.example.com/posts/127
738
- Completed 302 Found in 3ms
739
848
  ---------------------------------------------
740
849
  PostsControllerTest: test_should_destroy_post
741
850
  ---------------------------------------------
742
- Started DELETE "/posts/128" for 127.0.0.1 at 2016-12-05 18:22:23 +0900
851
+ Started DELETE "/posts/1" for 127.0.0.1 at 2016-12-20 16:08:21 +0900
743
852
  Processing by PostsController#destroy as HTML
744
- Parameters: {"id"=>"128"}
853
+ Parameters: {"id"=>"1"}
745
854
  Redirected to http://www.example.com/posts
746
- Completed 302 Found in 12ms
747
- --------------------------------------------
748
- PostsControllerTest: test_should_update_post
749
- --------------------------------------------
750
- Started PATCH "/posts/129" for 127.0.0.1 at 2016-12-05 18:22:23 +0900
751
- Processing by PostsController#update as HTML
752
- Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"129"}
753
- Redirected to http://www.example.com/posts/129
754
- Completed 302 Found in 3ms
855
+ Completed 302 Found in 36ms
755
856
  ----------------------------------------
756
857
  PostsControllerTest: test_should_get_new
757
858
  ----------------------------------------
758
- Started GET "/posts/new" for 127.0.0.1 at 2016-12-05 18:22:23 +0900
859
+ Started GET "/posts/new" for 127.0.0.1 at 2016-12-20 16:08:21 +0900
759
860
  Processing by PostsController#new as HTML
760
861
  Rendering posts/new.html.erb within layouts/application
761
- Rendered posts/_form.html.erb (10.3ms)
762
- Rendered posts/new.html.erb within layouts/application (11.6ms)
763
- Completed 200 OK in 138ms (Views: 137.6ms)
862
+ Rendered posts/_form.html.erb (24.1ms)
863
+ Rendered posts/new.html.erb within layouts/application (28.4ms)
864
+ Completed 200 OK in 142ms (Views: 139.9ms)
865
+ --------------------------------------------
866
+ PostsControllerTest: test_should_create_post
867
+ --------------------------------------------
868
+ Started POST "/posts" for 127.0.0.1 at 2016-12-20 16:08:22 +0900
869
+ Processing by PostsController#create as HTML
870
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
871
+ Redirected to http://www.example.com/posts/2
872
+ Completed 302 Found in 6ms
873
+ --------------------------------------------
874
+ PostsControllerTest: test_should_update_post
875
+ --------------------------------------------
876
+ Started PATCH "/posts/1" for 127.0.0.1 at 2016-12-20 16:08:22 +0900
877
+ Processing by PostsController#update as HTML
878
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
879
+ Redirected to http://www.example.com/posts/1
880
+ Completed 302 Found in 10ms
881
+ ------------------------------------------
882
+ PostsControllerTest: test_should_show_post
883
+ ------------------------------------------
884
+ Started GET "/posts/1" for 127.0.0.1 at 2016-12-20 16:08:22 +0900
885
+ Processing by PostsController#show as HTML
886
+ Parameters: {"id"=>"1"}
887
+ Rendering posts/show.html.erb within layouts/application
888
+ Rendered posts/show.html.erb within layouts/application (1.6ms)
889
+ Completed 200 OK in 14ms (Views: 8.0ms)
890
+ -----------------------------------------
891
+ PostsControllerTest: test_should_get_edit
892
+ -----------------------------------------
893
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2016-12-20 16:08:22 +0900
894
+ Processing by PostsController#edit as HTML
895
+ Parameters: {"id"=>"1"}
896
+ Rendering posts/edit.html.erb within layouts/application
897
+ Rendered posts/_form.html.erb (8.9ms)
898
+ Rendered posts/edit.html.erb within layouts/application (11.7ms)
899
+ Completed 200 OK in 27ms (Views: 20.3ms)
900
+ ------------------------------------------
901
+ PostsControllerTest: test_should_get_index
902
+ ------------------------------------------
903
+ Started GET "/posts" for 127.0.0.1 at 2016-12-20 16:08:23 +0900
904
+ Processing by PostsController#index as HTML
905
+ Rendering posts/index.html.erb within layouts/application
906
+ Rendered posts/index.html.erb within layouts/application (18.9ms)
907
+ Completed 200 OK in 30ms (Views: 26.8ms)
764
908
  ------------------------------------------
765
909
  PostsControllerTest: test_should_get_index
766
910
  ------------------------------------------
767
- Started GET "/posts" for 127.0.0.1 at 2016-12-05 18:22:24 +0900
911
+ Started GET "/posts" for 127.0.0.1 at 2016-12-20 16:08:37 +0900
768
912
  Processing by PostsController#index as HTML
769
913
  Rendering posts/index.html.erb within layouts/application
770
- Rendered posts/index.html.erb within layouts/application (14.9ms)
771
- Completed 200 OK in 20ms (Views: 16.8ms)
914
+ Rendered posts/index.html.erb within layouts/application (4.3ms)
915
+ Completed 200 OK in 110ms (Views: 104.9ms)
916
+ -----------------------------------------
917
+ PostsControllerTest: test_should_get_edit
918
+ -----------------------------------------
919
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2016-12-20 16:08:38 +0900
920
+ Processing by PostsController#edit as HTML
921
+ Parameters: {"id"=>"1"}
922
+ Rendering posts/edit.html.erb within layouts/application
923
+ Rendered posts/_form.html.erb (9.4ms)
924
+ Rendered posts/edit.html.erb within layouts/application (10.2ms)
925
+ Completed 200 OK in 68ms (Views: 12.0ms)
772
926
  ------------------------------------------
773
927
  PostsControllerTest: test_should_show_post
774
928
  ------------------------------------------
775
- Started GET "/posts/132" for 127.0.0.1 at 2016-12-05 18:22:24 +0900
929
+ Started GET "/posts/1" for 127.0.0.1 at 2016-12-20 16:08:38 +0900
776
930
  Processing by PostsController#show as HTML
777
- Parameters: {"id"=>"132"}
931
+ Parameters: {"id"=>"1"}
778
932
  Rendering posts/show.html.erb within layouts/application
779
- Rendered posts/show.html.erb within layouts/application (0.5ms)
780
- Completed 200 OK in 4ms (Views: 2.2ms)
933
+ Rendered posts/show.html.erb within layouts/application (1.7ms)
934
+ Completed 200 OK in 15ms (Views: 8.1ms)
935
+ ---------------------------------------------
936
+ PostsControllerTest: test_should_destroy_post
937
+ ---------------------------------------------
938
+ Started DELETE "/posts/1" for 127.0.0.1 at 2016-12-20 16:08:38 +0900
939
+ Processing by PostsController#destroy as HTML
940
+ Parameters: {"id"=>"1"}
941
+ Redirected to http://www.example.com/posts
942
+ Completed 302 Found in 9ms
781
943
  --------------------------------------------
782
944
  PostsControllerTest: test_should_create_post
783
945
  --------------------------------------------
784
- Started POST "/posts" for 127.0.0.1 at 2016-12-05 18:22:24 +0900
946
+ Started POST "/posts" for 127.0.0.1 at 2016-12-20 16:08:38 +0900
785
947
  Processing by PostsController#create as HTML
786
948
  Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
787
- Redirected to http://www.example.com/posts/134
949
+ Redirected to http://www.example.com/posts/2
788
950
  Completed 302 Found in 3ms
951
+ --------------------------------------------
952
+ PostsControllerTest: test_should_update_post
953
+ --------------------------------------------
954
+ Started PATCH "/posts/1" for 127.0.0.1 at 2016-12-20 16:08:39 +0900
955
+ Processing by PostsController#update as HTML
956
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
957
+ Redirected to http://www.example.com/posts/1
958
+ Completed 302 Found in 12ms
959
+ ----------------------------------------
960
+ PostsControllerTest: test_should_get_new
961
+ ----------------------------------------
962
+ Started GET "/posts/new" for 127.0.0.1 at 2016-12-20 16:08:39 +0900
963
+ Processing by PostsController#new as HTML
964
+ Rendering posts/new.html.erb within layouts/application
965
+ Rendered posts/_form.html.erb (6.8ms)
966
+ Rendered posts/new.html.erb within layouts/application (9.4ms)
967
+ Completed 200 OK in 20ms (Views: 17.9ms)
789
968
  -----------------------------------------
790
969
  PostsControllerTest: test_should_get_edit
791
970
  -----------------------------------------
792
- Started GET "/posts/135/edit" for 127.0.0.1 at 2016-12-05 18:22:24 +0900
971
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2016-12-20 16:08:44 +0900
793
972
  Processing by PostsController#edit as HTML
794
- Parameters: {"id"=>"135"}
973
+ Parameters: {"id"=>"1"}
795
974
  Rendering posts/edit.html.erb within layouts/application
796
- Rendered posts/_form.html.erb (1.5ms)
797
- Rendered posts/edit.html.erb within layouts/application (2.3ms)
798
- Completed 200 OK in 6ms (Views: 4.2ms)
975
+ Rendered posts/_form.html.erb (10.2ms)
976
+ Rendered posts/edit.html.erb within layouts/application (11.3ms)
977
+ Completed 200 OK in 127ms (Views: 119.5ms)
978
+ ----------------------------------------
979
+ PostsControllerTest: test_should_get_new
980
+ ----------------------------------------
981
+ Started GET "/posts/new" for 127.0.0.1 at 2016-12-20 16:08:44 +0900
982
+ Processing by PostsController#new as HTML
983
+ Rendering posts/new.html.erb within layouts/application
984
+ Rendered posts/_form.html.erb (3.9ms)
985
+ Rendered posts/new.html.erb within layouts/application (5.7ms)
986
+ Completed 200 OK in 12ms (Views: 10.6ms)
799
987
  ------------------------------------------
800
988
  PostsControllerTest: test_should_get_index
801
989
  ------------------------------------------
990
+ Started GET "/posts" for 127.0.0.1 at 2016-12-20 16:08:44 +0900
991
+ Processing by PostsController#index as HTML
992
+ Rendering posts/index.html.erb within layouts/application
993
+ Rendered posts/index.html.erb within layouts/application (5.0ms)
994
+ Completed 200 OK in 12ms (Views: 10.4ms)
995
+ --------------------------------------------
996
+ PostsControllerTest: test_should_update_post
997
+ --------------------------------------------
998
+ Started PATCH "/posts/1" for 127.0.0.1 at 2016-12-20 16:08:45 +0900
999
+ Processing by PostsController#update as HTML
1000
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
1001
+ Redirected to http://www.example.com/posts/1
1002
+ Completed 302 Found in 10ms
1003
+ --------------------------------------------
1004
+ PostsControllerTest: test_should_create_post
1005
+ --------------------------------------------
1006
+ Started POST "/posts" for 127.0.0.1 at 2016-12-20 16:08:45 +0900
1007
+ Processing by PostsController#create as HTML
1008
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
1009
+ Redirected to http://www.example.com/posts/2
1010
+ Completed 302 Found in 7ms
802
1011
  ---------------------------------------------
803
1012
  PostsControllerTest: test_should_destroy_post
804
1013
  ---------------------------------------------
1014
+ Started DELETE "/posts/1" for 127.0.0.1 at 2016-12-20 16:08:45 +0900
1015
+ Processing by PostsController#destroy as HTML
1016
+ Parameters: {"id"=>"1"}
1017
+ Redirected to http://www.example.com/posts
1018
+ Completed 302 Found in 22ms
1019
+ ------------------------------------------
1020
+ PostsControllerTest: test_should_show_post
1021
+ ------------------------------------------
1022
+ Started GET "/posts/1" for 127.0.0.1 at 2016-12-20 16:08:46 +0900
1023
+ Processing by PostsController#show as HTML
1024
+ Parameters: {"id"=>"1"}
1025
+ Rendering posts/show.html.erb within layouts/application
1026
+ Rendered posts/show.html.erb within layouts/application (2.1ms)
1027
+ Completed 200 OK in 18ms (Views: 9.8ms)
805
1028
  -----------------------------------------
806
1029
  PostsControllerTest: test_should_get_edit
807
1030
  -----------------------------------------
808
1031
  ------------------------------------------
809
- PostsControllerTest: test_should_show_post
1032
+ PostsControllerTest: test_should_get_index
810
1033
  ------------------------------------------
811
- --------------------------------------------
812
- PostsControllerTest: test_should_create_post
813
- --------------------------------------------
814
1034
  ----------------------------------------
815
1035
  PostsControllerTest: test_should_get_new
816
1036
  ----------------------------------------
817
1037
  --------------------------------------------
818
- PostsControllerTest: test_should_update_post
1038
+ PostsControllerTest: test_should_create_post
819
1039
  --------------------------------------------
1040
+ ------------------------------------------
1041
+ PostsControllerTest: test_should_show_post
1042
+ ------------------------------------------
820
1043
  ---------------------------------------------
821
1044
  PostsControllerTest: test_should_destroy_post
822
1045
  ---------------------------------------------
1046
+ --------------------------------------------
1047
+ PostsControllerTest: test_should_update_post
1048
+ --------------------------------------------
823
1049
  ----------------------------------------
824
1050
  PostsControllerTest: test_should_get_new
825
1051
  ----------------------------------------
1052
+ Started GET "/posts/new" for 127.0.0.1 at 2016-12-20 16:10:12 +0900
1053
+ Processing by PostsController#new as HTML
1054
+ Rendering posts/new.html.erb within layouts/application
1055
+ Rendered posts/_form.html.erb (9.9ms)
1056
+ Rendered posts/new.html.erb within layouts/application (11.0ms)
1057
+ Completed 200 OK in 115ms (Views: 110.1ms)
826
1058
  --------------------------------------------
827
- PostsControllerTest: test_should_update_post
1059
+ PostsControllerTest: test_should_create_post
828
1060
  --------------------------------------------
1061
+ Started POST "/posts" for 127.0.0.1 at 2016-12-20 16:10:12 +0900
1062
+ Processing by PostsController#create as HTML
1063
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
1064
+ Redirected to http://www.example.com/posts/2
1065
+ Completed 302 Found in 6ms
829
1066
  -----------------------------------------
830
1067
  PostsControllerTest: test_should_get_edit
831
1068
  -----------------------------------------
832
- --------------------------------------------
833
- PostsControllerTest: test_should_create_post
834
- --------------------------------------------
1069
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2016-12-20 16:10:12 +0900
1070
+ Processing by PostsController#edit as HTML
1071
+ Parameters: {"id"=>"1"}
1072
+ Rendering posts/edit.html.erb within layouts/application
1073
+ Rendered posts/_form.html.erb (1.4ms)
1074
+ Rendered posts/edit.html.erb within layouts/application (2.2ms)
1075
+ Completed 200 OK in 63ms (Views: 3.9ms)
835
1076
  ------------------------------------------
836
1077
  PostsControllerTest: test_should_get_index
837
1078
  ------------------------------------------
1079
+ Started GET "/posts" for 127.0.0.1 at 2016-12-20 16:10:13 +0900
1080
+ Processing by PostsController#index as HTML
1081
+ Rendering posts/index.html.erb within layouts/application
1082
+ Rendered posts/index.html.erb within layouts/application (6.3ms)
1083
+ Completed 200 OK in 15ms (Views: 12.9ms)
838
1084
  ------------------------------------------
839
1085
  PostsControllerTest: test_should_show_post
840
1086
  ------------------------------------------
1087
+ Started GET "/posts/1" for 127.0.0.1 at 2016-12-20 16:10:13 +0900
1088
+ Processing by PostsController#show as HTML
1089
+ Parameters: {"id"=>"1"}
1090
+ Rendering posts/show.html.erb within layouts/application
1091
+ Rendered posts/show.html.erb within layouts/application (0.9ms)
1092
+ Completed 200 OK in 7ms (Views: 4.5ms)
1093
+ --------------------------------------------
1094
+ PostsControllerTest: test_should_update_post
1095
+ --------------------------------------------
1096
+ Started PATCH "/posts/1" for 127.0.0.1 at 2016-12-20 16:10:13 +0900
1097
+ Processing by PostsController#update as HTML
1098
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
1099
+ Redirected to http://www.example.com/posts/1
1100
+ Completed 302 Found in 12ms
1101
+ ---------------------------------------------
1102
+ PostsControllerTest: test_should_destroy_post
1103
+ ---------------------------------------------
1104
+ Started DELETE "/posts/1" for 127.0.0.1 at 2016-12-20 16:10:14 +0900
1105
+ Processing by PostsController#destroy as HTML
1106
+ Parameters: {"id"=>"1"}
1107
+ Redirected to http://www.example.com/posts
1108
+ Completed 302 Found in 12ms
841
1109
  -----------------------------------------
842
1110
  PostsControllerTest: test_should_get_edit
843
1111
  -----------------------------------------
@@ -847,6 +1115,12 @@ PostsControllerTest: test_should_get_index
847
1115
  ----------------------------------------
848
1116
  PostsControllerTest: test_should_get_new
849
1117
  ----------------------------------------
1118
+ ---------------------------------------------
1119
+ PostsControllerTest: test_should_destroy_post
1120
+ ---------------------------------------------
1121
+ --------------------------------------------
1122
+ PostsControllerTest: test_should_create_post
1123
+ --------------------------------------------
850
1124
  ------------------------------------------
851
1125
  PostsControllerTest: test_should_show_post
852
1126
  ------------------------------------------
@@ -856,9 +1130,30 @@ PostsControllerTest: test_should_update_post
856
1130
  --------------------------------------------
857
1131
  PostsControllerTest: test_should_create_post
858
1132
  --------------------------------------------
1133
+ ------------------------------------------
1134
+ PostsControllerTest: test_should_show_post
1135
+ ------------------------------------------
859
1136
  ---------------------------------------------
860
1137
  PostsControllerTest: test_should_destroy_post
861
1138
  ---------------------------------------------
1139
+ --------------------------------------------
1140
+ PostsControllerTest: test_should_update_post
1141
+ --------------------------------------------
1142
+ -----------------------------------------
1143
+ PostsControllerTest: test_should_get_edit
1144
+ -----------------------------------------
1145
+ ----------------------------------------
1146
+ PostsControllerTest: test_should_get_new
1147
+ ----------------------------------------
1148
+ ------------------------------------------
1149
+ PostsControllerTest: test_should_get_index
1150
+ ------------------------------------------
1151
+ -----------------------------------------
1152
+ PostsControllerTest: test_should_get_edit
1153
+ -----------------------------------------
1154
+ ------------------------------------------
1155
+ PostsControllerTest: test_should_get_index
1156
+ ------------------------------------------
862
1157
  ---------------------------------------------
863
1158
  PostsControllerTest: test_should_destroy_post
864
1159
  ---------------------------------------------
@@ -868,6 +1163,12 @@ PostsControllerTest: test_should_show_post
868
1163
  --------------------------------------------
869
1164
  PostsControllerTest: test_should_update_post
870
1165
  --------------------------------------------
1166
+ --------------------------------------------
1167
+ PostsControllerTest: test_should_create_post
1168
+ --------------------------------------------
1169
+ ----------------------------------------
1170
+ PostsControllerTest: test_should_get_new
1171
+ ----------------------------------------
871
1172
  ----------------------------------------
872
1173
  PostsControllerTest: test_should_get_new
873
1174
  ----------------------------------------
@@ -877,741 +1178,240 @@ PostsControllerTest: test_should_create_post
877
1178
  -----------------------------------------
878
1179
  PostsControllerTest: test_should_get_edit
879
1180
  -----------------------------------------
1181
+ ---------------------------------------------
1182
+ PostsControllerTest: test_should_destroy_post
1183
+ ---------------------------------------------
880
1184
  ------------------------------------------
881
1185
  PostsControllerTest: test_should_get_index
882
1186
  ------------------------------------------
1187
+ ------------------------------------------
1188
+ PostsControllerTest: test_should_show_post
1189
+ ------------------------------------------
1190
+ --------------------------------------------
1191
+ PostsControllerTest: test_should_update_post
1192
+ --------------------------------------------
1193
+ ------------------------------------------
1194
+ PostsControllerTest: test_should_show_post
1195
+ ------------------------------------------
883
1196
  --------------------------------------------
884
1197
  PostsControllerTest: test_should_update_post
885
1198
  --------------------------------------------
886
1199
  ------------------------------------------
887
1200
  PostsControllerTest: test_should_get_index
888
1201
  ------------------------------------------
889
- ----------------------------------------
890
- PostsControllerTest: test_should_get_new
891
- ----------------------------------------
892
1202
  ---------------------------------------------
893
1203
  PostsControllerTest: test_should_destroy_post
894
1204
  ---------------------------------------------
895
1205
  -----------------------------------------
896
1206
  PostsControllerTest: test_should_get_edit
897
1207
  -----------------------------------------
1208
+ ----------------------------------------
1209
+ PostsControllerTest: test_should_get_new
1210
+ ----------------------------------------
898
1211
  --------------------------------------------
899
1212
  PostsControllerTest: test_should_create_post
900
1213
  --------------------------------------------
901
1214
  ------------------------------------------
902
1215
  PostsControllerTest: test_should_show_post
903
1216
  ------------------------------------------
904
- ---------------------------------------------
905
- PostsControllerTest: test_should_destroy_post
906
- ---------------------------------------------
1217
+ --------------------------------------------
1218
+ PostsControllerTest: test_should_update_post
1219
+ --------------------------------------------
907
1220
  ----------------------------------------
908
1221
  PostsControllerTest: test_should_get_new
909
1222
  ----------------------------------------
910
- -----------------------------------------
911
- PostsControllerTest: test_should_get_edit
912
- -----------------------------------------
913
- ------------------------------------------
914
- PostsControllerTest: test_should_show_post
915
- ------------------------------------------
916
1223
  --------------------------------------------
917
- PostsControllerTest: test_should_update_post
1224
+ PostsControllerTest: test_should_create_post
918
1225
  --------------------------------------------
919
1226
  ------------------------------------------
920
1227
  PostsControllerTest: test_should_get_index
921
1228
  ------------------------------------------
922
- --------------------------------------------
923
- PostsControllerTest: test_should_create_post
924
- --------------------------------------------
925
1229
  ---------------------------------------------
926
1230
  PostsControllerTest: test_should_destroy_post
927
1231
  ---------------------------------------------
928
1232
  -----------------------------------------
929
1233
  PostsControllerTest: test_should_get_edit
930
1234
  -----------------------------------------
931
- --------------------------------------------
932
- PostsControllerTest: test_should_create_post
933
- --------------------------------------------
934
- --------------------------------------------
935
- PostsControllerTest: test_should_update_post
936
- --------------------------------------------
937
1235
  ------------------------------------------
938
- PostsControllerTest: test_should_show_post
1236
+ PostsControllerTest: test_should_get_index
939
1237
  ------------------------------------------
1238
+ Started GET "/posts" for 127.0.0.1 at 2016-12-20 16:33:44 +0900
1239
+ Processing by PostsController#index as HTML
1240
+ Rendering posts/index.html.erb within layouts/application
1241
+ Rendered posts/index.html.erb within layouts/application (4.3ms)
1242
+ Completed 200 OK in 111ms (Views: 105.8ms)
940
1243
  ----------------------------------------
941
1244
  PostsControllerTest: test_should_get_new
942
1245
  ----------------------------------------
943
- ------------------------------------------
944
- PostsControllerTest: test_should_get_index
945
- ------------------------------------------
946
- --------------------------------------------
947
- PostsControllerTest: test_should_create_post
948
- --------------------------------------------
949
- ------------------------------------------
950
- PostsControllerTest: test_should_show_post
951
- ------------------------------------------
952
- ------------------------------------------
953
- PostsControllerTest: test_should_get_index
954
- ------------------------------------------
955
- ---------------------------------------------
956
- PostsControllerTest: test_should_destroy_post
957
- ---------------------------------------------
958
- ----------------------------------------
959
- PostsControllerTest: test_should_get_new
960
- ----------------------------------------
961
- -----------------------------------------
962
- PostsControllerTest: test_should_get_edit
963
- -----------------------------------------
964
- --------------------------------------------
965
- PostsControllerTest: test_should_update_post
966
- --------------------------------------------
967
- ------------------------------------------
968
- PostsControllerTest: test_should_get_index
969
- ------------------------------------------
970
- ------------------------------------------
971
- PostsControllerTest: test_should_show_post
972
- ------------------------------------------
973
- --------------------------------------------
974
- PostsControllerTest: test_should_update_post
975
- --------------------------------------------
976
- -----------------------------------------
977
- PostsControllerTest: test_should_get_edit
978
- -----------------------------------------
979
- --------------------------------------------
980
- PostsControllerTest: test_should_create_post
981
- --------------------------------------------
982
- ---------------------------------------------
983
- PostsControllerTest: test_should_destroy_post
984
- ---------------------------------------------
985
- ----------------------------------------
986
- PostsControllerTest: test_should_get_new
987
- ----------------------------------------
988
- --------------------------------------------
989
- PostsControllerTest: test_should_update_post
990
- --------------------------------------------
991
- ---------------------------------------------
992
- PostsControllerTest: test_should_destroy_post
993
- ---------------------------------------------
994
- -----------------------------------------
995
- PostsControllerTest: test_should_get_edit
996
- -----------------------------------------
997
- ------------------------------------------
998
- PostsControllerTest: test_should_get_index
999
- ------------------------------------------
1000
- --------------------------------------------
1001
- PostsControllerTest: test_should_create_post
1002
- --------------------------------------------
1003
- ----------------------------------------
1004
- PostsControllerTest: test_should_get_new
1005
- ----------------------------------------
1006
- ------------------------------------------
1007
- PostsControllerTest: test_should_show_post
1008
- ------------------------------------------
1009
- ----------------------------------------
1010
- PostsControllerTest: test_should_get_new
1011
- ----------------------------------------
1012
- --------------------------------------------
1013
- PostsControllerTest: test_should_create_post
1014
- --------------------------------------------
1015
- ---------------------------------------------
1016
- PostsControllerTest: test_should_destroy_post
1017
- ---------------------------------------------
1018
- ------------------------------------------
1019
- PostsControllerTest: test_should_get_index
1020
- ------------------------------------------
1021
- --------------------------------------------
1022
- PostsControllerTest: test_should_update_post
1023
- --------------------------------------------
1024
- ------------------------------------------
1025
- PostsControllerTest: test_should_show_post
1026
- ------------------------------------------
1027
- -----------------------------------------
1028
- PostsControllerTest: test_should_get_edit
1029
- -----------------------------------------
1030
- ------------------------------------------
1031
- PostsControllerTest: test_should_show_post
1032
- ------------------------------------------
1033
- ---------------------------------------------
1034
- PostsControllerTest: test_should_destroy_post
1035
- ---------------------------------------------
1036
- ----------------------------------------
1037
- PostsControllerTest: test_should_get_new
1038
- ----------------------------------------
1039
- --------------------------------------------
1040
- PostsControllerTest: test_should_update_post
1041
- --------------------------------------------
1042
- ------------------------------------------
1043
- PostsControllerTest: test_should_get_index
1044
- ------------------------------------------
1045
- --------------------------------------------
1046
- PostsControllerTest: test_should_create_post
1047
- --------------------------------------------
1048
- -----------------------------------------
1049
- PostsControllerTest: test_should_get_edit
1050
- -----------------------------------------
1051
- --------------------------------------------
1052
- PostsControllerTest: test_should_create_post
1053
- --------------------------------------------
1054
- ----------------------------------------
1055
- PostsControllerTest: test_should_get_new
1056
- ----------------------------------------
1057
- --------------------------------------------
1058
- PostsControllerTest: test_should_update_post
1059
- --------------------------------------------
1060
- ---------------------------------------------
1061
- PostsControllerTest: test_should_destroy_post
1062
- ---------------------------------------------
1063
- -----------------------------------------
1064
- PostsControllerTest: test_should_get_edit
1065
- -----------------------------------------
1066
- ------------------------------------------
1067
- PostsControllerTest: test_should_show_post
1068
- ------------------------------------------
1069
- ------------------------------------------
1070
- PostsControllerTest: test_should_get_index
1071
- ------------------------------------------
1072
- ---------------------------------------------
1073
- PostsControllerTest: test_should_destroy_post
1074
- ---------------------------------------------
1075
- --------------------------------------------
1076
- PostsControllerTest: test_should_create_post
1077
- --------------------------------------------
1078
- ------------------------------------------
1079
- PostsControllerTest: test_should_show_post
1080
- ------------------------------------------
1081
- --------------------------------------------
1082
- PostsControllerTest: test_should_update_post
1083
- --------------------------------------------
1084
- ------------------------------------------
1085
- PostsControllerTest: test_should_get_index
1086
- ------------------------------------------
1087
- ----------------------------------------
1088
- PostsControllerTest: test_should_get_new
1089
- ----------------------------------------
1090
- -----------------------------------------
1091
- PostsControllerTest: test_should_get_edit
1092
- -----------------------------------------
1093
- ----------------------------------------
1094
- PostsControllerTest: test_should_get_new
1095
- ----------------------------------------
1096
- --------------------------------------------
1097
- PostsControllerTest: test_should_create_post
1098
- --------------------------------------------
1099
- --------------------------------------------
1100
- PostsControllerTest: test_should_update_post
1101
- --------------------------------------------
1102
- -----------------------------------------
1103
- PostsControllerTest: test_should_get_edit
1104
- -----------------------------------------
1105
- ------------------------------------------
1106
- PostsControllerTest: test_should_get_index
1107
- ------------------------------------------
1108
- ------------------------------------------
1109
- PostsControllerTest: test_should_show_post
1110
- ------------------------------------------
1111
- ---------------------------------------------
1112
- PostsControllerTest: test_should_destroy_post
1113
- ---------------------------------------------
1114
- ---------------------------------------------
1115
- PostsControllerTest: test_should_destroy_post
1116
- ---------------------------------------------
1117
- --------------------------------------------
1118
- PostsControllerTest: test_should_create_post
1119
- --------------------------------------------
1120
- ------------------------------------------
1121
- PostsControllerTest: test_should_get_index
1122
- ------------------------------------------
1123
- ------------------------------------------
1124
- PostsControllerTest: test_should_show_post
1125
- ------------------------------------------
1126
- --------------------------------------------
1127
- PostsControllerTest: test_should_update_post
1128
- --------------------------------------------
1129
- -----------------------------------------
1130
- PostsControllerTest: test_should_get_edit
1131
- -----------------------------------------
1132
- ----------------------------------------
1133
- PostsControllerTest: test_should_get_new
1134
- ----------------------------------------
1135
- ----------------------------------------
1136
- PostsControllerTest: test_should_get_new
1137
- ----------------------------------------
1138
- ------------------------------------------
1139
- PostsControllerTest: test_should_show_post
1140
- ------------------------------------------
1141
- --------------------------------------------
1142
- PostsControllerTest: test_should_update_post
1143
- --------------------------------------------
1144
- -----------------------------------------
1145
- PostsControllerTest: test_should_get_edit
1146
- -----------------------------------------
1147
- --------------------------------------------
1148
- PostsControllerTest: test_should_create_post
1149
- --------------------------------------------
1150
- ------------------------------------------
1151
- PostsControllerTest: test_should_get_index
1152
- ------------------------------------------
1153
- ---------------------------------------------
1154
- PostsControllerTest: test_should_destroy_post
1155
- ---------------------------------------------
1156
- --------------------------------------------
1157
- PostsControllerTest: test_should_create_post
1158
- --------------------------------------------
1159
- ------------------------------------------
1160
- PostsControllerTest: test_should_get_index
1161
- ------------------------------------------
1162
- ----------------------------------------
1163
- PostsControllerTest: test_should_get_new
1164
- ----------------------------------------
1165
- --------------------------------------------
1166
- PostsControllerTest: test_should_update_post
1167
- --------------------------------------------
1168
- ---------------------------------------------
1169
- PostsControllerTest: test_should_destroy_post
1170
- ---------------------------------------------
1171
- -----------------------------------------
1172
- PostsControllerTest: test_should_get_edit
1173
- -----------------------------------------
1174
- ------------------------------------------
1175
- PostsControllerTest: test_should_show_post
1176
- ------------------------------------------
1177
- ---------------------------------------------
1178
- PostsControllerTest: test_should_destroy_post
1179
- ---------------------------------------------
1180
- --------------------------------------------
1181
- PostsControllerTest: test_should_update_post
1182
- --------------------------------------------
1183
- ------------------------------------------
1184
- PostsControllerTest: test_should_show_post
1185
- ------------------------------------------
1186
- ----------------------------------------
1187
- PostsControllerTest: test_should_get_new
1188
- ----------------------------------------
1189
- --------------------------------------------
1190
- PostsControllerTest: test_should_create_post
1191
- --------------------------------------------
1192
- ------------------------------------------
1193
- PostsControllerTest: test_should_get_index
1194
- ------------------------------------------
1195
- -----------------------------------------
1196
- PostsControllerTest: test_should_get_edit
1197
- -----------------------------------------
1198
- ----------------------------------------
1199
- PostsControllerTest: test_should_get_new
1200
- ----------------------------------------
1201
- --------------------------------------------
1202
- PostsControllerTest: test_should_create_post
1203
- --------------------------------------------
1204
- ---------------------------------------------
1205
- PostsControllerTest: test_should_destroy_post
1206
- ---------------------------------------------
1207
- --------------------------------------------
1208
- PostsControllerTest: test_should_update_post
1209
- --------------------------------------------
1210
- -----------------------------------------
1211
- PostsControllerTest: test_should_get_edit
1212
- -----------------------------------------
1213
- ------------------------------------------
1214
- PostsControllerTest: test_should_get_index
1215
- ------------------------------------------
1216
- ------------------------------------------
1217
- PostsControllerTest: test_should_show_post
1218
- ------------------------------------------
1219
- --------------------------------------------
1220
- PostsControllerTest: test_should_create_post
1221
- --------------------------------------------
1222
- ---------------------------------------------
1223
- PostsControllerTest: test_should_destroy_post
1224
- ---------------------------------------------
1225
- ------------------------------------------
1226
- PostsControllerTest: test_should_get_index
1227
- ------------------------------------------
1228
- --------------------------------------------
1229
- PostsControllerTest: test_should_update_post
1230
- --------------------------------------------
1231
- ----------------------------------------
1232
- PostsControllerTest: test_should_get_new
1233
- ----------------------------------------
1234
- ------------------------------------------
1235
- PostsControllerTest: test_should_show_post
1236
- ------------------------------------------
1237
- -----------------------------------------
1238
- PostsControllerTest: test_should_get_edit
1239
- -----------------------------------------
1240
- ------------------------------------------
1241
- PostsControllerTest: test_should_show_post
1242
- ------------------------------------------
1243
- --------------------------------------------
1244
- PostsControllerTest: test_should_create_post
1245
- --------------------------------------------
1246
- -----------------------------------------
1247
- PostsControllerTest: test_should_get_edit
1248
- -----------------------------------------
1249
- ------------------------------------------
1250
- PostsControllerTest: test_should_get_index
1251
- ------------------------------------------
1252
- ----------------------------------------
1253
- PostsControllerTest: test_should_get_new
1254
- ----------------------------------------
1255
- ---------------------------------------------
1256
- PostsControllerTest: test_should_destroy_post
1257
- ---------------------------------------------
1258
- --------------------------------------------
1259
- PostsControllerTest: test_should_update_post
1260
- --------------------------------------------
1261
- --------------------------------------------
1262
- PostsControllerTest: test_should_update_post
1263
- --------------------------------------------
1264
- -----------------------------------------
1265
- PostsControllerTest: test_should_get_edit
1266
- -----------------------------------------
1267
- ----------------------------------------
1268
- PostsControllerTest: test_should_get_new
1269
- ----------------------------------------
1270
- ------------------------------------------
1271
- PostsControllerTest: test_should_get_index
1272
- ------------------------------------------
1273
- --------------------------------------------
1274
- PostsControllerTest: test_should_create_post
1275
- --------------------------------------------
1276
- ---------------------------------------------
1277
- PostsControllerTest: test_should_destroy_post
1278
- ---------------------------------------------
1279
- ------------------------------------------
1280
- PostsControllerTest: test_should_show_post
1281
- ------------------------------------------
1282
- -----------------------------------------
1283
- PostsControllerTest: test_should_get_edit
1284
- -----------------------------------------
1285
- ------------------------------------------
1286
- PostsControllerTest: test_should_show_post
1287
- ------------------------------------------
1288
- ------------------------------------------
1289
- PostsControllerTest: test_should_get_index
1290
- ------------------------------------------
1291
- ----------------------------------------
1292
- PostsControllerTest: test_should_get_new
1293
- ----------------------------------------
1294
- ---------------------------------------------
1295
- PostsControllerTest: test_should_destroy_post
1296
- ---------------------------------------------
1297
- --------------------------------------------
1298
- PostsControllerTest: test_should_create_post
1299
- --------------------------------------------
1300
- --------------------------------------------
1301
- PostsControllerTest: test_should_update_post
1302
- --------------------------------------------
1303
- --------------------------------------------
1304
- PostsControllerTest: test_should_update_post
1305
- --------------------------------------------
1306
- --------------------------------------------
1307
- PostsControllerTest: test_should_create_post
1308
- --------------------------------------------
1309
- -----------------------------------------
1310
- PostsControllerTest: test_should_get_edit
1311
- -----------------------------------------
1312
- ------------------------------------------
1313
- PostsControllerTest: test_should_get_index
1314
- ------------------------------------------
1315
- ------------------------------------------
1316
- PostsControllerTest: test_should_show_post
1317
- ------------------------------------------
1318
- ---------------------------------------------
1319
- PostsControllerTest: test_should_destroy_post
1320
- ---------------------------------------------
1321
- ----------------------------------------
1322
- PostsControllerTest: test_should_get_new
1323
- ----------------------------------------
1246
+ Started GET "/posts/new" for 127.0.0.1 at 2016-12-20 16:33:44 +0900
1247
+ Processing by PostsController#new as HTML
1248
+ Rendering posts/new.html.erb within layouts/application
1249
+ Rendered posts/_form.html.erb (26.4ms)
1250
+ Rendered posts/new.html.erb within layouts/application (29.3ms)
1251
+ Completed 200 OK in 35ms (Views: 33.5ms)
1324
1252
  -----------------------------------------
1325
1253
  PostsControllerTest: test_should_get_edit
1326
1254
  -----------------------------------------
1327
- Started GET "/posts/1/edit" for 127.0.0.1 at 2016-12-12 12:18:34 +0900
1255
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2016-12-20 16:33:44 +0900
1328
1256
  Processing by PostsController#edit as HTML
1329
1257
  Parameters: {"id"=>"1"}
1330
1258
  Rendering posts/edit.html.erb within layouts/application
1331
- Rendered posts/_form.html.erb (21.8ms)
1332
- Rendered posts/edit.html.erb within layouts/application (23.7ms)
1333
- Completed 200 OK in 291ms (Views: 241.2ms)
1334
- --------------------------------------------
1335
- PostsControllerTest: test_should_create_post
1336
- --------------------------------------------
1337
- Started POST "/posts" for 127.0.0.1 at 2016-12-12 12:18:34 +0900
1338
- Processing by PostsController#create as HTML
1339
- Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
1340
- Redirected to http://www.example.com/posts/3
1341
- Completed 302 Found in 2ms
1342
- ------------------------------------------
1343
- PostsControllerTest: test_should_get_index
1344
- ------------------------------------------
1345
- Started GET "/posts" for 127.0.0.1 at 2016-12-12 12:18:34 +0900
1346
- Processing by PostsController#index as HTML
1347
- Rendering posts/index.html.erb within layouts/application
1348
- Rendered posts/index.html.erb within layouts/application (2.7ms)
1349
- Completed 200 OK in 6ms (Views: 4.7ms)
1350
- ----------------------------------------
1351
- PostsControllerTest: test_should_get_new
1352
- ----------------------------------------
1353
- Started GET "/posts/new" for 127.0.0.1 at 2016-12-12 12:18:34 +0900
1354
- Processing by PostsController#new as HTML
1355
- Rendering posts/new.html.erb within layouts/application
1356
- Rendered posts/_form.html.erb (1.6ms)
1357
- Rendered posts/new.html.erb within layouts/application (2.4ms)
1358
- Completed 200 OK in 5ms (Views: 4.4ms)
1359
- ---------------------------------------------
1360
- PostsControllerTest: test_should_destroy_post
1361
- ---------------------------------------------
1362
- Started DELETE "/posts/6" for 127.0.0.1 at 2016-12-12 12:18:34 +0900
1363
- Processing by PostsController#destroy as HTML
1364
- Parameters: {"id"=>"6"}
1365
- Redirected to http://www.example.com/posts
1366
- Completed 302 Found in 3ms
1367
- --------------------------------------------
1368
- PostsControllerTest: test_should_update_post
1369
- --------------------------------------------
1370
- Started PATCH "/posts/7" for 127.0.0.1 at 2016-12-12 12:18:34 +0900
1371
- Processing by PostsController#update as HTML
1372
- Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"7"}
1373
- Redirected to http://www.example.com/posts/7
1374
- Completed 302 Found in 4ms
1375
- ------------------------------------------
1376
- PostsControllerTest: test_should_show_post
1377
- ------------------------------------------
1378
- Started GET "/posts/8" for 127.0.0.1 at 2016-12-12 12:18:34 +0900
1379
- Processing by PostsController#show as HTML
1380
- Parameters: {"id"=>"8"}
1381
- Rendering posts/show.html.erb within layouts/application
1382
- Rendered posts/show.html.erb within layouts/application (1.0ms)
1383
- Completed 200 OK in 11ms (Views: 4.8ms)
1259
+ Rendered posts/_form.html.erb (1.4ms)
1260
+ Rendered posts/edit.html.erb within layouts/application (2.2ms)
1261
+ Completed 200 OK in 67ms (Views: 3.9ms)
1384
1262
  ------------------------------------------
1385
1263
  PostsControllerTest: test_should_show_post
1386
1264
  ------------------------------------------
1387
- Started GET "/posts/9" for 127.0.0.1 at 2016-12-12 12:18:41 +0900
1265
+ Started GET "/posts/1" for 127.0.0.1 at 2016-12-20 16:33:44 +0900
1388
1266
  Processing by PostsController#show as HTML
1389
- Parameters: {"id"=>"9"}
1267
+ Parameters: {"id"=>"1"}
1390
1268
  Rendering posts/show.html.erb within layouts/application
1391
- Rendered posts/show.html.erb within layouts/application (3.0ms)
1392
- Completed 200 OK in 125ms (Views: 116.4ms)
1269
+ Rendered posts/show.html.erb within layouts/application (0.5ms)
1270
+ Completed 200 OK in 66ms (Views: 2.6ms)
1393
1271
  --------------------------------------------
1394
1272
  PostsControllerTest: test_should_create_post
1395
1273
  --------------------------------------------
1396
- Started POST "/posts" for 127.0.0.1 at 2016-12-12 12:18:41 +0900
1274
+ Started POST "/posts" for 127.0.0.1 at 2016-12-20 16:33:44 +0900
1397
1275
  Processing by PostsController#create as HTML
1398
1276
  Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
1399
- Redirected to http://www.example.com/posts/11
1400
- Completed 302 Found in 3ms
1277
+ Redirected to http://www.example.com/posts/2
1278
+ Completed 302 Found in 8ms
1401
1279
  ---------------------------------------------
1402
1280
  PostsControllerTest: test_should_destroy_post
1403
1281
  ---------------------------------------------
1404
- Started DELETE "/posts/12" for 127.0.0.1 at 2016-12-12 12:18:41 +0900
1282
+ Started DELETE "/posts/1" for 127.0.0.1 at 2016-12-20 16:33:44 +0900
1405
1283
  Processing by PostsController#destroy as HTML
1406
- Parameters: {"id"=>"12"}
1284
+ Parameters: {"id"=>"1"}
1407
1285
  Redirected to http://www.example.com/posts
1408
- Completed 302 Found in 3ms
1286
+ Completed 302 Found in 76ms
1409
1287
  --------------------------------------------
1410
1288
  PostsControllerTest: test_should_update_post
1411
1289
  --------------------------------------------
1412
- Started PATCH "/posts/13" for 127.0.0.1 at 2016-12-12 12:18:41 +0900
1290
+ Started PATCH "/posts/1" for 127.0.0.1 at 2016-12-20 16:33:45 +0900
1413
1291
  Processing by PostsController#update as HTML
1414
- Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"13"}
1415
- Redirected to http://www.example.com/posts/13
1416
- Completed 302 Found in 3ms
1417
- ------------------------------------------
1418
- PostsControllerTest: test_should_get_index
1419
- ------------------------------------------
1420
- Started GET "/posts" for 127.0.0.1 at 2016-12-12 12:18:41 +0900
1421
- Processing by PostsController#index as HTML
1422
- Rendering posts/index.html.erb within layouts/application
1423
- Rendered posts/index.html.erb within layouts/application (4.0ms)
1424
- Completed 200 OK in 7ms (Views: 6.4ms)
1292
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
1293
+ Redirected to http://www.example.com/posts/1
1294
+ Completed 302 Found in 46ms
1295
+ --------------------------------------------
1296
+ PostsControllerTest: test_should_update_post
1297
+ --------------------------------------------
1298
+ Started PATCH "/posts/1" for 127.0.0.1 at 2016-12-20 16:33:51 +0900
1299
+ Processing by PostsController#update as HTML
1300
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
1301
+ Redirected to http://www.example.com/posts/1
1302
+ Completed 302 Found in 37ms
1425
1303
  ----------------------------------------
1426
1304
  PostsControllerTest: test_should_get_new
1427
1305
  ----------------------------------------
1428
- Started GET "/posts/new" for 127.0.0.1 at 2016-12-12 12:18:41 +0900
1306
+ Started GET "/posts/new" for 127.0.0.1 at 2016-12-20 16:33:51 +0900
1429
1307
  Processing by PostsController#new as HTML
1430
1308
  Rendering posts/new.html.erb within layouts/application
1431
- Rendered posts/_form.html.erb (11.6ms)
1432
- Rendered posts/new.html.erb within layouts/application (12.4ms)
1433
- Completed 200 OK in 15ms (Views: 14.2ms)
1434
- -----------------------------------------
1435
- PostsControllerTest: test_should_get_edit
1436
- -----------------------------------------
1437
- Started GET "/posts/16/edit" for 127.0.0.1 at 2016-12-12 12:18:41 +0900
1438
- Processing by PostsController#edit as HTML
1439
- Parameters: {"id"=>"16"}
1440
- Rendering posts/edit.html.erb within layouts/application
1441
- Rendered posts/_form.html.erb (1.5ms)
1442
- Rendered posts/edit.html.erb within layouts/application (2.6ms)
1443
- Completed 200 OK in 7ms (Views: 4.9ms)
1309
+ Rendered posts/_form.html.erb (23.8ms)
1310
+ Rendered posts/new.html.erb within layouts/application (27.7ms)
1311
+ Completed 200 OK in 174ms (Views: 171.8ms)
1444
1312
  ------------------------------------------
1445
1313
  PostsControllerTest: test_should_show_post
1446
1314
  ------------------------------------------
1447
- Started GET "/posts/17" for 127.0.0.1 at 2016-12-12 12:20:23 +0900
1315
+ Started GET "/posts/1" for 127.0.0.1 at 2016-12-20 16:33:51 +0900
1448
1316
  Processing by PostsController#show as HTML
1449
- Parameters: {"id"=>"17"}
1317
+ Parameters: {"id"=>"1"}
1450
1318
  Rendering posts/show.html.erb within layouts/application
1451
- Rendered posts/show.html.erb within layouts/application (3.2ms)
1452
- Completed 200 OK in 201ms (Views: 190.2ms)
1453
- ------------------------------------------
1454
- PostsControllerTest: test_should_get_index
1455
- ------------------------------------------
1456
- Started GET "/posts" for 127.0.0.1 at 2016-12-12 12:20:23 +0900
1457
- Processing by PostsController#index as HTML
1458
- Rendering posts/index.html.erb within layouts/application
1459
- Rendered posts/index.html.erb within layouts/application (5.3ms)
1460
- Completed 200 OK in 9ms (Views: 8.1ms)
1461
- ----------------------------------------
1462
- PostsControllerTest: test_should_get_new
1463
- ----------------------------------------
1464
- Started GET "/posts/new" for 127.0.0.1 at 2016-12-12 12:20:23 +0900
1465
- Processing by PostsController#new as HTML
1466
- Rendering posts/new.html.erb within layouts/application
1467
- Rendered posts/_form.html.erb (17.2ms)
1468
- Rendered posts/new.html.erb within layouts/application (18.1ms)
1469
- Completed 200 OK in 21ms (Views: 20.3ms)
1319
+ Rendered posts/show.html.erb within layouts/application (0.5ms)
1320
+ Completed 200 OK in 60ms (Views: 2.1ms)
1470
1321
  --------------------------------------------
1471
1322
  PostsControllerTest: test_should_create_post
1472
1323
  --------------------------------------------
1473
- Started POST "/posts" for 127.0.0.1 at 2016-12-12 12:20:23 +0900
1324
+ Started POST "/posts" for 127.0.0.1 at 2016-12-20 16:33:51 +0900
1474
1325
  Processing by PostsController#create as HTML
1475
1326
  Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
1476
- Redirected to http://www.example.com/posts/21
1477
- Completed 302 Found in 2ms
1327
+ Redirected to http://www.example.com/posts/2
1328
+ Completed 302 Found in 5ms
1478
1329
  -----------------------------------------
1479
1330
  PostsControllerTest: test_should_get_edit
1480
1331
  -----------------------------------------
1481
- Started GET "/posts/22/edit" for 127.0.0.1 at 2016-12-12 12:20:23 +0900
1332
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2016-12-20 16:33:51 +0900
1482
1333
  Processing by PostsController#edit as HTML
1483
- Parameters: {"id"=>"22"}
1334
+ Parameters: {"id"=>"1"}
1484
1335
  Rendering posts/edit.html.erb within layouts/application
1485
- Rendered posts/_form.html.erb (6.8ms)
1486
- Rendered posts/edit.html.erb within layouts/application (8.2ms)
1487
- Completed 200 OK in 17ms (Views: 13.2ms)
1336
+ Rendered posts/_form.html.erb (1.3ms)
1337
+ Rendered posts/edit.html.erb within layouts/application (1.9ms)
1338
+ Completed 200 OK in 63ms (Views: 3.5ms)
1339
+ ------------------------------------------
1340
+ PostsControllerTest: test_should_get_index
1341
+ ------------------------------------------
1342
+ Started GET "/posts" for 127.0.0.1 at 2016-12-20 16:33:52 +0900
1343
+ Processing by PostsController#index as HTML
1344
+ Rendering posts/index.html.erb within layouts/application
1345
+ Rendered posts/index.html.erb within layouts/application (5.8ms)
1346
+ Completed 200 OK in 14ms (Views: 11.4ms)
1488
1347
  ---------------------------------------------
1489
1348
  PostsControllerTest: test_should_destroy_post
1490
1349
  ---------------------------------------------
1491
- Started DELETE "/posts/23" for 127.0.0.1 at 2016-12-12 12:20:23 +0900
1350
+ Started DELETE "/posts/1" for 127.0.0.1 at 2016-12-20 16:33:52 +0900
1492
1351
  Processing by PostsController#destroy as HTML
1493
- Parameters: {"id"=>"23"}
1352
+ Parameters: {"id"=>"1"}
1494
1353
  Redirected to http://www.example.com/posts
1495
- Completed 302 Found in 7ms
1354
+ Completed 302 Found in 58ms
1355
+ -----------------------------------------
1356
+ PostsControllerTest: test_should_get_edit
1357
+ -----------------------------------------
1358
+ ----------------------------------------
1359
+ PostsControllerTest: test_should_get_new
1360
+ ----------------------------------------
1496
1361
  --------------------------------------------
1497
1362
  PostsControllerTest: test_should_update_post
1498
1363
  --------------------------------------------
1499
- Started PATCH "/posts/24" for 127.0.0.1 at 2016-12-12 12:20:23 +0900
1500
- Processing by PostsController#update as HTML
1501
- Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"24"}
1502
- Redirected to http://www.example.com/posts/24
1503
- Completed 302 Found in 6ms
1504
- ------------------------------------------
1505
- PostsControllerTest: test_should_show_post
1506
- ------------------------------------------
1507
- Started GET "/posts/25" for 127.0.0.1 at 2016-12-12 12:20:46 +0900
1508
- Processing by PostsController#show as HTML
1509
- Parameters: {"id"=>"25"}
1510
- Rendering posts/show.html.erb within layouts/application
1511
- Rendered posts/show.html.erb within layouts/application (3.5ms)
1512
- Completed 200 OK in 126ms (Views: 117.1ms)
1513
- ------------------------------------------
1514
- PostsControllerTest: test_should_show_post
1515
- ------------------------------------------
1516
- Started GET "/posts/26" for 127.0.0.1 at 2016-12-12 12:21:04 +0900
1517
- Processing by PostsController#show as HTML
1518
- Parameters: {"id"=>"26"}
1519
- Rendering posts/show.html.erb within layouts/application
1520
- Rendered posts/show.html.erb within layouts/application (3.3ms)
1521
- Completed 200 OK in 126ms (Views: 117.9ms)
1522
- ------------------------------------------
1523
- PostsControllerTest: test_should_show_post
1524
- ------------------------------------------
1525
- Started GET "/posts/27" for 127.0.0.1 at 2016-12-12 12:21:56 +0900
1526
- Processing by PostsController#show as HTML
1527
- Parameters: {"id"=>"27"}
1528
- Rendering posts/show.html.erb within layouts/application
1529
- Rendered posts/show.html.erb within layouts/application (3.1ms)
1530
- Completed 200 OK in 184ms (Views: 175.5ms)
1531
- ------------------------------------------
1532
- PostsControllerTest: test_should_show_post
1533
- ------------------------------------------
1534
- Started GET "/posts/28" for 127.0.0.1 at 2016-12-12 12:22:14 +0900
1535
- Processing by PostsController#show as HTML
1536
- Parameters: {"id"=>"28"}
1537
- Rendering posts/show.html.erb within layouts/application
1538
- Rendered posts/show.html.erb within layouts/application (3.6ms)
1539
- Completed 200 OK in 133ms (Views: 121.1ms)
1364
+ --------------------------------------------
1365
+ PostsControllerTest: test_should_create_post
1366
+ --------------------------------------------
1367
+ ---------------------------------------------
1368
+ PostsControllerTest: test_should_destroy_post
1369
+ ---------------------------------------------
1540
1370
  ------------------------------------------
1541
1371
  PostsControllerTest: test_should_get_index
1542
1372
  ------------------------------------------
1543
- Started GET "/posts" for 127.0.0.1 at 2016-12-12 12:22:24 +0900
1544
- Processing by PostsController#index as HTML
1545
- Rendering posts/index.html.erb within layouts/application
1546
- Rendered posts/index.html.erb within layouts/application (9.1ms)
1547
- Completed 200 OK in 200ms (Views: 192.7ms)
1548
- --------------------------------------------
1549
- PostsControllerTest: test_should_update_post
1550
- --------------------------------------------
1551
- Started PATCH "/posts/30" for 127.0.0.1 at 2016-12-12 12:22:24 +0900
1552
- Processing by PostsController#update as HTML
1553
- Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"30"}
1554
- Redirected to http://www.example.com/posts/30
1555
- Completed 302 Found in 4ms
1556
1373
  ------------------------------------------
1557
1374
  PostsControllerTest: test_should_show_post
1558
1375
  ------------------------------------------
1559
- Started GET "/posts/31" for 127.0.0.1 at 2016-12-12 12:22:24 +0900
1560
- Processing by PostsController#show as HTML
1561
- Parameters: {"id"=>"31"}
1562
- Rendering posts/show.html.erb within layouts/application
1563
- Rendered posts/show.html.erb within layouts/application (0.6ms)
1564
- Completed 200 OK in 5ms (Views: 2.9ms)
1565
1376
  -----------------------------------------
1566
1377
  PostsControllerTest: test_should_get_edit
1567
1378
  -----------------------------------------
1568
- Started GET "/posts/32/edit" for 127.0.0.1 at 2016-12-12 12:22:24 +0900
1569
- Processing by PostsController#edit as HTML
1570
- Parameters: {"id"=>"32"}
1571
- Rendering posts/edit.html.erb within layouts/application
1572
- Rendered posts/_form.html.erb (14.5ms)
1573
- Rendered posts/edit.html.erb within layouts/application (15.6ms)
1574
- Completed 200 OK in 20ms (Views: 17.9ms)
1575
1379
  ----------------------------------------
1576
1380
  PostsControllerTest: test_should_get_new
1577
1381
  ----------------------------------------
1578
- Started GET "/posts/new" for 127.0.0.1 at 2016-12-12 12:22:24 +0900
1579
- Processing by PostsController#new as HTML
1580
- Rendering posts/new.html.erb within layouts/application
1581
- Rendered posts/_form.html.erb (3.1ms)
1582
- Rendered posts/new.html.erb within layouts/application (3.9ms)
1583
- Completed 200 OK in 8ms (Views: 7.2ms)
1382
+ ------------------------------------------
1383
+ PostsControllerTest: test_should_get_index
1384
+ ------------------------------------------
1584
1385
  --------------------------------------------
1585
- PostsControllerTest: test_should_create_post
1386
+ PostsControllerTest: test_should_update_post
1586
1387
  --------------------------------------------
1587
- Started POST "/posts" for 127.0.0.1 at 2016-12-12 12:22:24 +0900
1588
- Processing by PostsController#create as HTML
1589
- Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
1590
- Redirected to http://www.example.com/posts/35
1591
- Completed 302 Found in 4ms
1592
- ---------------------------------------------
1593
- PostsControllerTest: test_should_destroy_post
1594
- ---------------------------------------------
1595
- Started DELETE "/posts/36" for 127.0.0.1 at 2016-12-12 12:22:25 +0900
1596
- Processing by PostsController#destroy as HTML
1597
- Parameters: {"id"=>"36"}
1598
- Redirected to http://www.example.com/posts
1599
- Completed 302 Found in 4ms
1600
1388
  ---------------------------------------------
1601
1389
  PostsControllerTest: test_should_destroy_post
1602
1390
  ---------------------------------------------
1391
+ --------------------------------------------
1392
+ PostsControllerTest: test_should_create_post
1393
+ --------------------------------------------
1394
+ ------------------------------------------
1395
+ PostsControllerTest: test_should_show_post
1396
+ ------------------------------------------
1397
+ ------------------------------------------
1398
+ PostsControllerTest: test_should_get_index
1399
+ ------------------------------------------
1603
1400
  ----------------------------------------
1604
1401
  PostsControllerTest: test_should_get_new
1605
1402
  ----------------------------------------
1403
+ ---------------------------------------------
1404
+ PostsControllerTest: test_should_destroy_post
1405
+ ---------------------------------------------
1606
1406
  -----------------------------------------
1607
1407
  PostsControllerTest: test_should_get_edit
1608
1408
  -----------------------------------------
1609
1409
  --------------------------------------------
1610
1410
  PostsControllerTest: test_should_update_post
1611
1411
  --------------------------------------------
1612
- ------------------------------------------
1613
- PostsControllerTest: test_should_get_index
1614
- ------------------------------------------
1412
+ --------------------------------------------
1413
+ PostsControllerTest: test_should_create_post
1414
+ --------------------------------------------
1615
1415
  ------------------------------------------
1616
1416
  PostsControllerTest: test_should_show_post
1617
1417
  ------------------------------------------
@@ -1624,201 +1424,156 @@ PostsControllerTest: test_should_get_edit
1624
1424
  --------------------------------------------
1625
1425
  PostsControllerTest: test_should_update_post
1626
1426
  --------------------------------------------
1627
- --------------------------------------------
1628
- PostsControllerTest: test_should_create_post
1629
- --------------------------------------------
1630
- ----------------------------------------
1631
- PostsControllerTest: test_should_get_new
1632
- ----------------------------------------
1633
1427
  ------------------------------------------
1634
1428
  PostsControllerTest: test_should_show_post
1635
1429
  ------------------------------------------
1636
- ------------------------------------------
1637
- PostsControllerTest: test_should_get_index
1638
- ------------------------------------------
1639
- ---------------------------------------------
1640
- PostsControllerTest: test_should_destroy_post
1641
- ---------------------------------------------
1642
1430
  ---------------------------------------------
1643
1431
  PostsControllerTest: test_should_destroy_post
1644
1432
  ---------------------------------------------
1645
1433
  ------------------------------------------
1646
- PostsControllerTest: test_should_show_post
1647
- ------------------------------------------
1648
- -----------------------------------------
1649
- PostsControllerTest: test_should_get_edit
1650
- -----------------------------------------
1651
- ------------------------------------------
1652
1434
  PostsControllerTest: test_should_get_index
1653
1435
  ------------------------------------------
1654
1436
  ----------------------------------------
1655
1437
  PostsControllerTest: test_should_get_new
1656
1438
  ----------------------------------------
1657
1439
  --------------------------------------------
1658
- PostsControllerTest: test_should_update_post
1659
- --------------------------------------------
1660
- --------------------------------------------
1661
- PostsControllerTest: test_should_create_post
1662
- --------------------------------------------
1663
- --------------------------------------------
1664
1440
  PostsControllerTest: test_should_create_post
1665
1441
  --------------------------------------------
1666
1442
  ------------------------------------------
1667
- PostsControllerTest: test_should_show_post
1443
+ PostsControllerTest: test_should_get_index
1668
1444
  ------------------------------------------
1669
1445
  ----------------------------------------
1670
1446
  PostsControllerTest: test_should_get_new
1671
1447
  ----------------------------------------
1672
- ---------------------------------------------
1673
- PostsControllerTest: test_should_destroy_post
1674
- ---------------------------------------------
1675
- ------------------------------------------
1676
- PostsControllerTest: test_should_get_index
1677
- ------------------------------------------
1678
1448
  --------------------------------------------
1679
1449
  PostsControllerTest: test_should_update_post
1680
1450
  --------------------------------------------
1681
1451
  -----------------------------------------
1682
1452
  PostsControllerTest: test_should_get_edit
1683
1453
  -----------------------------------------
1454
+ ---------------------------------------------
1455
+ PostsControllerTest: test_should_destroy_post
1456
+ ---------------------------------------------
1684
1457
  ------------------------------------------
1685
1458
  PostsControllerTest: test_should_show_post
1686
1459
  ------------------------------------------
1687
- Started GET "/posts/15" for 127.0.0.1 at 2016-12-19 12:17:24 +0900
1688
- Processing by PostsController#show as HTML
1689
- Parameters: {"id"=>"15"}
1690
- Rendering posts/show.html.erb within layouts/application
1691
- Rendered posts/show.html.erb within layouts/application (14.4ms)
1692
- Completed 200 OK in 340ms (Views: 322.9ms)
1693
1460
  ------------------------------------------
1694
1461
  PostsControllerTest: test_should_get_index
1695
1462
  ------------------------------------------
1696
- Started GET "/posts" for 127.0.0.1 at 2016-12-19 12:17:24 +0900
1463
+ Started GET "/posts" for 127.0.0.1 at 2016-12-20 16:44:29 +0900
1697
1464
  Processing by PostsController#index as HTML
1698
1465
  Rendering posts/index.html.erb within layouts/application
1699
- Rendered posts/index.html.erb within layouts/application (4.5ms)
1700
- Completed 200 OK in 25ms (Views: 9.3ms)
1701
- ----------------------------------------
1702
- PostsControllerTest: test_should_get_new
1703
- ----------------------------------------
1704
- Started GET "/posts/new" for 127.0.0.1 at 2016-12-19 12:17:24 +0900
1705
- Processing by PostsController#new as HTML
1706
- Rendering posts/new.html.erb within layouts/application
1707
- Rendered posts/_form.html.erb (64.1ms)
1708
- Rendered posts/new.html.erb within layouts/application (65.5ms)
1709
- Completed 200 OK in 77ms (Views: 76.0ms)
1710
- ---------------------------------------------
1711
- PostsControllerTest: test_should_destroy_post
1712
- ---------------------------------------------
1713
- Started DELETE "/posts/18" for 127.0.0.1 at 2016-12-19 12:17:25 +0900
1714
- Processing by PostsController#destroy as HTML
1715
- Parameters: {"id"=>"18"}
1716
- Redirected to http://www.example.com/posts
1717
- Completed 302 Found in 5ms
1466
+ Rendered posts/index.html.erb within layouts/application (4.4ms)
1467
+ Completed 200 OK in 114ms (Views: 107.6ms)
1468
+ ------------------------------------------
1469
+ PostsControllerTest: test_should_show_post
1470
+ ------------------------------------------
1471
+ Started GET "/posts/1" for 127.0.0.1 at 2016-12-20 16:44:29 +0900
1472
+ Processing by PostsController#show as HTML
1473
+ Parameters: {"id"=>"1"}
1474
+ Rendering posts/show.html.erb within layouts/application
1475
+ Rendered posts/show.html.erb within layouts/application (0.5ms)
1476
+ Completed 200 OK in 36ms (Views: 2.4ms)
1718
1477
  -----------------------------------------
1719
1478
  PostsControllerTest: test_should_get_edit
1720
1479
  -----------------------------------------
1721
- Started GET "/posts/19/edit" for 127.0.0.1 at 2016-12-19 12:17:25 +0900
1480
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2016-12-20 16:44:30 +0900
1722
1481
  Processing by PostsController#edit as HTML
1723
- Parameters: {"id"=>"19"}
1482
+ Parameters: {"id"=>"1"}
1724
1483
  Rendering posts/edit.html.erb within layouts/application
1725
- Rendered posts/_form.html.erb (3.2ms)
1726
- Rendered posts/edit.html.erb within layouts/application (4.1ms)
1727
- Completed 200 OK in 12ms (Views: 7.9ms)
1484
+ Rendered posts/_form.html.erb (9.3ms)
1485
+ Rendered posts/edit.html.erb within layouts/application (10.1ms)
1486
+ Completed 200 OK in 66ms (Views: 11.9ms)
1728
1487
  --------------------------------------------
1729
1488
  PostsControllerTest: test_should_create_post
1730
1489
  --------------------------------------------
1731
- Started POST "/posts" for 127.0.0.1 at 2016-12-19 12:17:25 +0900
1490
+ Started POST "/posts" for 127.0.0.1 at 2016-12-20 16:44:30 +0900
1732
1491
  Processing by PostsController#create as HTML
1733
1492
  Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
1734
- Redirected to http://www.example.com/posts/21
1735
- Completed 302 Found in 3ms
1736
- --------------------------------------------
1737
- PostsControllerTest: test_should_update_post
1738
- --------------------------------------------
1739
- Started PATCH "/posts/22" for 127.0.0.1 at 2016-12-19 12:17:25 +0900
1740
- Processing by PostsController#update as HTML
1741
- Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"22"}
1742
- Redirected to http://www.example.com/posts/22
1743
- Completed 302 Found in 3ms
1744
- -----------------------------------------
1745
- PostsControllerTest: test_should_get_edit
1746
- -----------------------------------------
1747
- ---------------------------------------------
1748
- PostsControllerTest: test_should_destroy_post
1749
- ---------------------------------------------
1493
+ Redirected to http://www.example.com/posts/2
1494
+ Completed 302 Found in 6ms
1750
1495
  ----------------------------------------
1751
1496
  PostsControllerTest: test_should_get_new
1752
1497
  ----------------------------------------
1753
- ------------------------------------------
1754
- PostsControllerTest: test_should_show_post
1755
- ------------------------------------------
1498
+ Started GET "/posts/new" for 127.0.0.1 at 2016-12-20 16:44:30 +0900
1499
+ Processing by PostsController#new as HTML
1500
+ Rendering posts/new.html.erb within layouts/application
1501
+ Rendered posts/_form.html.erb (4.5ms)
1502
+ Rendered posts/new.html.erb within layouts/application (6.7ms)
1503
+ Completed 200 OK in 15ms (Views: 13.0ms)
1756
1504
  --------------------------------------------
1757
1505
  PostsControllerTest: test_should_update_post
1758
1506
  --------------------------------------------
1759
- --------------------------------------------
1760
- PostsControllerTest: test_should_create_post
1761
- --------------------------------------------
1762
- ------------------------------------------
1763
- PostsControllerTest: test_should_get_index
1764
- ------------------------------------------
1507
+ Started PATCH "/posts/1" for 127.0.0.1 at 2016-12-20 16:44:30 +0900
1508
+ Processing by PostsController#update as HTML
1509
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
1510
+ Redirected to http://www.example.com/posts/1
1511
+ Completed 302 Found in 65ms
1765
1512
  ---------------------------------------------
1766
1513
  PostsControllerTest: test_should_destroy_post
1767
1514
  ---------------------------------------------
1768
- Started DELETE "/posts/24" for 127.0.0.1 at 2016-12-19 17:10:11 +0900
1515
+ Started DELETE "/posts/1" for 127.0.0.1 at 2016-12-20 16:44:30 +0900
1769
1516
  Processing by PostsController#destroy as HTML
1770
- Parameters: {"id"=>"24"}
1517
+ Parameters: {"id"=>"1"}
1771
1518
  Redirected to http://www.example.com/posts
1772
- Completed 302 Found in 19ms
1773
- -----------------------------------------
1774
- PostsControllerTest: test_should_get_edit
1775
- -----------------------------------------
1776
- Started GET "/posts/25/edit" for 127.0.0.1 at 2016-12-19 17:10:11 +0900
1777
- Processing by PostsController#edit as HTML
1778
- Parameters: {"id"=>"25"}
1779
- Rendering posts/edit.html.erb within layouts/application
1780
- Rendered posts/_form.html.erb (18.1ms)
1781
- Rendered posts/edit.html.erb within layouts/application (20.1ms)
1782
- Completed 200 OK in 173ms (Views: 169.9ms)
1519
+ Completed 302 Found in 65ms
1783
1520
  ------------------------------------------
1784
1521
  PostsControllerTest: test_should_show_post
1785
1522
  ------------------------------------------
1786
- Started GET "/posts/26" for 127.0.0.1 at 2016-12-19 17:10:11 +0900
1523
+ Started GET "/posts/1" for 127.0.0.1 at 2016-12-20 16:44:34 +0900
1787
1524
  Processing by PostsController#show as HTML
1788
- Parameters: {"id"=>"26"}
1525
+ Parameters: {"id"=>"1"}
1789
1526
  Rendering posts/show.html.erb within layouts/application
1790
- Rendered posts/show.html.erb within layouts/application (0.9ms)
1791
- Completed 200 OK in 7ms (Views: 3.7ms)
1527
+ Rendered posts/show.html.erb within layouts/application (2.5ms)
1528
+ Completed 200 OK in 137ms (Views: 103.5ms)
1529
+ ------------------------------------------
1530
+ PostsControllerTest: test_should_get_index
1531
+ ------------------------------------------
1532
+ Started GET "/posts" for 127.0.0.1 at 2016-12-20 16:44:35 +0900
1533
+ Processing by PostsController#index as HTML
1534
+ Rendering posts/index.html.erb within layouts/application
1535
+ Rendered posts/index.html.erb within layouts/application (4.6ms)
1536
+ Completed 200 OK in 9ms (Views: 8.1ms)
1792
1537
  ----------------------------------------
1793
1538
  PostsControllerTest: test_should_get_new
1794
1539
  ----------------------------------------
1795
- Started GET "/posts/new" for 127.0.0.1 at 2016-12-19 17:10:11 +0900
1540
+ Started GET "/posts/new" for 127.0.0.1 at 2016-12-20 16:44:35 +0900
1796
1541
  Processing by PostsController#new as HTML
1797
1542
  Rendering posts/new.html.erb within layouts/application
1798
- Rendered posts/_form.html.erb (2.3ms)
1799
- Rendered posts/new.html.erb within layouts/application (3.4ms)
1800
- Completed 200 OK in 7ms (Views: 6.2ms)
1543
+ Rendered posts/_form.html.erb (26.4ms)
1544
+ Rendered posts/new.html.erb within layouts/application (28.7ms)
1545
+ Completed 200 OK in 34ms (Views: 32.9ms)
1546
+ --------------------------------------------
1547
+ PostsControllerTest: test_should_update_post
1548
+ --------------------------------------------
1549
+ Started PATCH "/posts/1" for 127.0.0.1 at 2016-12-20 16:44:35 +0900
1550
+ Processing by PostsController#update as HTML
1551
+ Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"1"}
1552
+ Redirected to http://www.example.com/posts/1
1553
+ Completed 302 Found in 64ms
1801
1554
  --------------------------------------------
1802
1555
  PostsControllerTest: test_should_create_post
1803
1556
  --------------------------------------------
1804
- Started POST "/posts" for 127.0.0.1 at 2016-12-19 17:10:11 +0900
1557
+ Started POST "/posts" for 127.0.0.1 at 2016-12-20 16:44:35 +0900
1805
1558
  Processing by PostsController#create as HTML
1806
1559
  Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}}
1807
- Redirected to http://www.example.com/posts/29
1808
- Completed 302 Found in 4ms
1809
- ------------------------------------------
1810
- PostsControllerTest: test_should_get_index
1811
- ------------------------------------------
1812
- Started GET "/posts" for 127.0.0.1 at 2016-12-19 17:10:11 +0900
1813
- Processing by PostsController#index as HTML
1814
- Rendering posts/index.html.erb within layouts/application
1815
- Rendered posts/index.html.erb within layouts/application (4.5ms)
1816
- Completed 200 OK in 10ms (Views: 8.5ms)
1817
- --------------------------------------------
1818
- PostsControllerTest: test_should_update_post
1819
- --------------------------------------------
1820
- Started PATCH "/posts/31" for 127.0.0.1 at 2016-12-19 17:10:11 +0900
1821
- Processing by PostsController#update as HTML
1822
- Parameters: {"post"=>{"body"=>"World", "title"=>"Hello"}, "id"=>"31"}
1823
- Redirected to http://www.example.com/posts/31
1824
- Completed 302 Found in 8ms
1560
+ Redirected to http://www.example.com/posts/2
1561
+ Completed 302 Found in 6ms
1562
+ ---------------------------------------------
1563
+ PostsControllerTest: test_should_destroy_post
1564
+ ---------------------------------------------
1565
+ Started DELETE "/posts/1" for 127.0.0.1 at 2016-12-20 16:44:35 +0900
1566
+ Processing by PostsController#destroy as HTML
1567
+ Parameters: {"id"=>"1"}
1568
+ Redirected to http://www.example.com/posts
1569
+ Completed 302 Found in 55ms
1570
+ -----------------------------------------
1571
+ PostsControllerTest: test_should_get_edit
1572
+ -----------------------------------------
1573
+ Started GET "/posts/1/edit" for 127.0.0.1 at 2016-12-20 16:44:36 +0900
1574
+ Processing by PostsController#edit as HTML
1575
+ Parameters: {"id"=>"1"}
1576
+ Rendering posts/edit.html.erb within layouts/application
1577
+ Rendered posts/_form.html.erb (2.1ms)
1578
+ Rendered posts/edit.html.erb within layouts/application (3.3ms)
1579
+ Completed 200 OK in 71ms (Views: 5.8ms)