pointless_feedback 4.1.3 → 4.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +3 -0
  3. data/app/models/pointless_feedback/message.rb +15 -1
  4. data/lib/pointless_feedback/version.rb +1 -1
  5. data/lib/pointless_feedback.rb +3 -0
  6. data/test/dummy/db/development.sqlite3 +0 -0
  7. data/test/dummy/db/schema.rb +1 -1
  8. data/test/dummy/db/test.sqlite3 +0 -0
  9. data/test/dummy/log/development.log +19 -0
  10. data/test/dummy/log/test.log +1268 -0
  11. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/-San3EpdqmXucKjWKzj9Y4ohakTwPve802nHvuwO7Jo.cache +1 -0
  12. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/-TbbWWLFMt3DZ-5B-vJndj1TPRC1zyxAx9oZII0qDIs.cache +2 -0
  13. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/-pidKv4sRS1AHIdUq8SdhCbK7RBLxqZOj2J2IrQ2MNc.cache +1 -0
  14. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0VTf0cLtjXR4AmORRQFKGgColA8oNkthmlSu3--4vkA.cache +0 -0
  15. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2LTXJO_QqTJ-5H5vls5NuO33l2HnQEPCKyys1rJ9CHU.cache +1 -0
  16. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/38mZ9NIe5KF1MIDDVKe1TEFBcbukU8SM-tJue0yS3wk.cache +0 -0
  17. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/6FZ81vWyUKy_DcxXDyZXdmGk9uRdL45m8mIRYeAAki0.cache +2 -0
  18. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/887XcE3QtqTB1awIHVQ-wZbPREASak6jnAIv5c8YkWs.cache +0 -0
  19. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/8UZRZEdnJXQI7pEZv5web_6NYGb4tsqrjexyklH9diw.cache +0 -0
  20. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/AZJGtFTJnm8JYaSaOYw5ksyiBB2wnq7xUR03pySV74s.cache +1 -0
  21. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BrYu8MASRWPjOHXf27JbA7JxBQut8DGQqvNrSSbXcRo.cache +2 -0
  22. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/EWWsa5wkShiSKZ2PTmerV3jNjniPCSr6VKY8-AeWlDA.cache +2 -0
  23. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/IOGWMsC0BM_CMkmkUN8bS1rbgafmhkAC8dcxottrV4Y.cache +0 -0
  24. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/KKSQk2Nb-fK9dAUIu54bCqJmsIl8CfyyMiL2kI6RhZA.cache +1 -0
  25. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/LKQqIm9BPozk5o1llvYa7OYd_UP5yTwGvgR42mgrcgg.cache +1 -0
  26. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/QrWJdwZgo4HAZ_7Vuhk9kz53541WB0e2f_EZd51klNs.cache +0 -0
  27. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UyxPIgqnOJ95iAcVy9cpZEBquCjaDqLAo-ZLVmMQTtY.cache +1 -0
  28. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ZbStkrcw5La9IsJfkcHZtBR6GXZIYYsZEkeoiAejt14.cache +1 -0
  29. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_F3f3F0jM19jFISuXW_iDifAYddNggPVDu0nZsAQ1qs.cache +0 -0
  30. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/cfiN2OwI0tIVEMcsMPNe3Ne9SI-eG5gK9SUCClSF5PU.cache +3 -0
  31. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ixs_LE4mzdmsCUhekBJ0_i4P33LTFSIfqISpj_BRXQM.cache +2 -0
  32. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/lUTpNNW813UzMkR7C2NJ5W6EhyzD2WMmeLp94WjnhLY.cache +1 -0
  33. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/rDNrWZd1_Nv7apS-pCv6ymh9c9MxOx_jBYxb0ecEbJM.cache +1 -0
  34. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/uFVbUDnZucyvZeWah0qrbvBAmACAym8OCVUhBU80FV8.cache +0 -0
  35. data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/xmAOdsDeC2k2YPPp5IBPPyzY4uZgOtYDMWM4RzxKGuI.cache +1 -0
  36. data/test/integration/pointless_feedback/feedback_submission_test.rb +23 -0
  37. data/test/tmp/config/initializers/pointless_feedback.rb +37 -0
  38. data/test/unit/pointless_feedback/message_test.rb +11 -0
  39. metadata +65 -7
@@ -0,0 +1,1268 @@
1
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2
+  (0.1ms) begin transaction
3
+ -----------------------------------------------------------------------------------------------------------------------------------------------
4
+ PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with overridden after_message_create_path: test_0001_anonymous
5
+ -----------------------------------------------------------------------------------------------------------------------------------------------
6
+ Processing by PointlessFeedback::MessagesController#create as HTML
7
+ Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
8
+  (0.0ms) SAVEPOINT active_record_1
9
+ SQL (0.5ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-18 14:25:06.763144"], ["updated_at", "2022-05-18 14:25:06.763144"]]
10
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11
+ Redirected to http://test.host/dashboard
12
+ Completed 302 Found in 14ms (ActiveRecord: 0.8ms)
13
+  (0.5ms) rollback transaction
14
+  (0.0ms) begin transaction
15
+ -----------------------------------------------------------------------------------------------------------------------------------------------
16
+ PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with overridden after_message_create_path: test_0002_anonymous
17
+ -----------------------------------------------------------------------------------------------------------------------------------------------
18
+ Processing by PointlessFeedback::MessagesController#create as HTML
19
+ Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
20
+  (0.1ms) SAVEPOINT active_record_1
21
+ SQL (0.5ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-18 14:25:06.774093"], ["updated_at", "2022-05-18 14:25:06.774093"]]
22
+  (0.1ms) RELEASE SAVEPOINT active_record_1
23
+ Redirected to http://test.host/dashboard
24
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
25
+  (0.6ms) rollback transaction
26
+  (0.1ms) begin transaction
27
+ -----------------------------------------------------------------------------------------------------------------------------------------------
28
+ PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with overridden after_message_create_path: test_0003_anonymous
29
+ -----------------------------------------------------------------------------------------------------------------------------------------------
30
+ Processing by PointlessFeedback::MessagesController#create as HTML
31
+ Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
32
+  (0.1ms) SAVEPOINT active_record_1
33
+ SQL (0.5ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-18 14:25:06.779730"], ["updated_at", "2022-05-18 14:25:06.779730"]]
34
+  (0.1ms) RELEASE SAVEPOINT active_record_1
35
+ Redirected to http://test.host/dashboard
36
+ Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
37
+  (0.6ms) rollback transaction
38
+  (0.1ms) begin transaction
39
+ -------------------------------------------------------------------------------
40
+ PointlessFeedback::MessageTest::validating topics: test_0001_allows valid topic
41
+ -------------------------------------------------------------------------------
42
+  (0.1ms) rollback transaction
43
+  (0.1ms) begin transaction
44
+ -----------------------------------------------------------------------------------------
45
+ PointlessFeedback::MessageTest::validating topics: test_0002_does not allow invalid topic
46
+ -----------------------------------------------------------------------------------------
47
+  (0.1ms) rollback transaction
48
+  (0.0ms) begin transaction
49
+ -------------------------------------------------------
50
+ PointlessFeedback::MessageTest: test_0001_requires name
51
+ -------------------------------------------------------
52
+  (0.0ms) SAVEPOINT active_record_1
53
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
54
+  (0.0ms) rollback transaction
55
+  (0.0ms) begin transaction
56
+ ----------------------------------------------------------------
57
+ PointlessFeedback::MessageTest: test_0002_requires email_address
58
+ ----------------------------------------------------------------
59
+  (0.0ms) SAVEPOINT active_record_1
60
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
61
+  (0.0ms) rollback transaction
62
+  (0.1ms) begin transaction
63
+ --------------------------------------------------------
64
+ PointlessFeedback::MessageTest: test_0003_requires topic
65
+ --------------------------------------------------------
66
+  (0.1ms) SAVEPOINT active_record_1
67
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
68
+  (0.1ms) rollback transaction
69
+  (0.2ms) begin transaction
70
+ --------------------------------------------------------------
71
+ PointlessFeedback::MessageTest: test_0004_requires description
72
+ --------------------------------------------------------------
73
+  (0.1ms) SAVEPOINT active_record_1
74
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
75
+  (0.1ms) rollback transaction
76
+  (0.0ms) begin transaction
77
+ -----------------------------------------------------------------------------------------------------------------
78
+ PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0001_outputs named path from the main app
79
+ -----------------------------------------------------------------------------------------------------------------
80
+  (0.0ms) rollback transaction
81
+  (0.0ms) begin transaction
82
+ ----------------------------------------------------------------------------------------------------------------
83
+ PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0002_outputs named url from the main app
84
+ ----------------------------------------------------------------------------------------------------------------
85
+  (0.0ms) rollback transaction
86
+  (0.0ms) begin transaction
87
+ ---------------------------------------------------------------------------------------------------------------
88
+ PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0003_raises exception with other routes
89
+ ---------------------------------------------------------------------------------------------------------------
90
+  (0.0ms) rollback transaction
91
+  (0.1ms) begin transaction
92
+ --------------------------------------------------------------------------------------------------------------------------------------------
93
+ PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with default after_message_create_path: test_0001_anonymous
94
+ --------------------------------------------------------------------------------------------------------------------------------------------
95
+ Processing by PointlessFeedback::MessagesController#create as HTML
96
+ Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
97
+  (0.1ms) SAVEPOINT active_record_1
98
+ SQL (0.5ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-18 14:25:06.815109"], ["updated_at", "2022-05-18 14:25:06.815109"]]
99
+  (0.1ms) RELEASE SAVEPOINT active_record_1
100
+ Redirected to http://test.host/
101
+ Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
102
+  (0.4ms) rollback transaction
103
+  (0.1ms) begin transaction
104
+ --------------------------------------------------------------------------------------------------------------------------------------------
105
+ PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with default after_message_create_path: test_0002_anonymous
106
+ --------------------------------------------------------------------------------------------------------------------------------------------
107
+ Processing by PointlessFeedback::MessagesController#create as HTML
108
+ Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
109
+  (0.1ms) SAVEPOINT active_record_1
110
+ SQL (0.7ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-18 14:25:06.822294"], ["updated_at", "2022-05-18 14:25:06.822294"]]
111
+  (0.1ms) RELEASE SAVEPOINT active_record_1
112
+ Redirected to http://test.host/
113
+ Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
114
+  (0.4ms) rollback transaction
115
+  (0.1ms) begin transaction
116
+ --------------------------------------------------------------------------------------------------------------------------------------------
117
+ PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with default after_message_create_path: test_0003_anonymous
118
+ --------------------------------------------------------------------------------------------------------------------------------------------
119
+ Processing by PointlessFeedback::MessagesController#create as HTML
120
+ Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
121
+  (0.2ms) SAVEPOINT active_record_1
122
+ SQL (0.5ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-18 14:25:06.829402"], ["updated_at", "2022-05-18 14:25:06.829402"]]
123
+  (0.1ms) RELEASE SAVEPOINT active_record_1
124
+ Redirected to http://test.host/
125
+ Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
126
+  (1.0ms) rollback transaction
127
+  (0.1ms) begin transaction
128
+ -------------------------------------------------------------------------------------------------------------------
129
+ FeedbackSubmissionTest::submitting feedback with the honeypot field filled in: test_0001_redirects to the root path
130
+ -------------------------------------------------------------------------------------------------------------------
131
+ Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-18 10:25:06 -0400
132
+ Processing by PointlessFeedback::MessagesController#new as HTML
133
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (16.9ms)
134
+ Completed 200 OK in 215ms (Views: 214.5ms | ActiveRecord: 0.0ms)
135
+ Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2022-05-18 10:25:07 -0400
136
+ Processing by PointlessFeedback::MessagesController#create as HTML
137
+ Parameters: {"utf8"=>"✓", "message"=>{"name"=>"Eli", "email_address"=>"eli@example.com", "topic"=>"Other", "description"=>"This site is awful", "contact_info"=>"I'm a spam bot!"}, "commit"=>"Submit"}
138
+  (0.1ms) SAVEPOINT active_record_1
139
+ SQL (0.5ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "This site is awful"], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2022-05-18 14:25:07.075137"], ["updated_at", "2022-05-18 14:25:07.075137"]]
140
+  (0.1ms) RELEASE SAVEPOINT active_record_1
141
+ Redirected to http://www.example.com/
142
+ Completed 302 Found in 15ms (ActiveRecord: 0.6ms)
143
+ Started GET "/" for 127.0.0.1 at 2022-05-18 10:25:07 -0400
144
+ Processing by HomeController#index as HTML
145
+ Rendered home/index.html.erb within layouts/application (0.6ms)
146
+ Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
147
+  (0.5ms) rollback transaction
148
+  (0.1ms) begin transaction
149
+ --------------------------------------------------------------------------------------------------------------------
150
+ FeedbackSubmissionTest::submitting feedback with the honeypot field filled in: test_0002_thanks message is displayed
151
+ --------------------------------------------------------------------------------------------------------------------
152
+ Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-18 10:25:07 -0400
153
+ Processing by PointlessFeedback::MessagesController#new as HTML
154
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.4ms)
155
+ Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
156
+ Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2022-05-18 10:25:07 -0400
157
+ Processing by PointlessFeedback::MessagesController#create as HTML
158
+ Parameters: {"utf8"=>"✓", "message"=>{"name"=>"Eli", "email_address"=>"eli@example.com", "topic"=>"Other", "description"=>"This site is awful", "contact_info"=>"I'm a spam bot!"}, "commit"=>"Submit"}
159
+  (0.0ms) SAVEPOINT active_record_1
160
+ SQL (0.3ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "This site is awful"], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2022-05-18 14:25:07.117740"], ["updated_at", "2022-05-18 14:25:07.117740"]]
161
+  (0.0ms) RELEASE SAVEPOINT active_record_1
162
+ Redirected to http://www.example.com/
163
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
164
+ Started GET "/" for 127.0.0.1 at 2022-05-18 10:25:07 -0400
165
+ Processing by HomeController#index as HTML
166
+ Rendered home/index.html.erb within layouts/application (0.2ms)
167
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
168
+  (0.5ms) rollback transaction
169
+  (0.1ms) begin transaction
170
+ ---------------------------------------------------------------------------------
171
+ FeedbackSubmissionTest::submitting feedback: test_0001_redirects to the root path
172
+ ---------------------------------------------------------------------------------
173
+ Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-18 10:25:07 -0400
174
+ Processing by PointlessFeedback::MessagesController#new as HTML
175
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (2.6ms)
176
+ Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
177
+ Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2022-05-18 10:25:07 -0400
178
+ Processing by PointlessFeedback::MessagesController#create as HTML
179
+ Parameters: {"utf8"=>"✓", "message"=>{"name"=>"Eli", "email_address"=>"eli@example.com", "topic"=>"Other", "description"=>"This site is awful", "contact_info"=>""}, "commit"=>"Submit"}
180
+  (0.1ms) SAVEPOINT active_record_1
181
+ SQL (0.4ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "This site is awful"], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2022-05-18 14:25:07.141295"], ["updated_at", "2022-05-18 14:25:07.141295"]]
182
+  (0.1ms) RELEASE SAVEPOINT active_record_1
183
+ Redirected to http://www.example.com/
184
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
185
+ Started GET "/" for 127.0.0.1 at 2022-05-18 10:25:07 -0400
186
+ Processing by HomeController#index as HTML
187
+ Rendered home/index.html.erb within layouts/application (0.3ms)
188
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
189
+  (0.6ms) rollback transaction
190
+  (0.1ms) begin transaction
191
+ ----------------------------------------------------------------------------------
192
+ FeedbackSubmissionTest::submitting feedback: test_0002_thanks message is displayed
193
+ ----------------------------------------------------------------------------------
194
+ Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-18 10:25:07 -0400
195
+ Processing by PointlessFeedback::MessagesController#new as HTML
196
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (2.4ms)
197
+ Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
198
+ Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2022-05-18 10:25:07 -0400
199
+ Processing by PointlessFeedback::MessagesController#create as HTML
200
+ Parameters: {"utf8"=>"✓", "message"=>{"name"=>"Eli", "email_address"=>"eli@example.com", "topic"=>"Other", "description"=>"This site is awful", "contact_info"=>""}, "commit"=>"Submit"}
201
+  (0.1ms) SAVEPOINT active_record_1
202
+ SQL (0.5ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "This site is awful"], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2022-05-18 14:25:07.160776"], ["updated_at", "2022-05-18 14:25:07.160776"]]
203
+  (0.0ms) RELEASE SAVEPOINT active_record_1
204
+ Redirected to http://www.example.com/
205
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
206
+ Started GET "/" for 127.0.0.1 at 2022-05-18 10:25:07 -0400
207
+ Processing by HomeController#index as HTML
208
+ Rendered home/index.html.erb within layouts/application (0.3ms)
209
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
210
+  (0.4ms) rollback transaction
211
+  (0.1ms) begin transaction
212
+ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
213
+ PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is true::when the honeypot field is not nil: test_0001_does not send mail after create
214
+ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
215
+  (0.1ms) SAVEPOINT active_record_1
216
+ SQL (0.6ms) INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["created_at", "2022-05-18 14:25:07.175964"], ["updated_at", "2022-05-18 14:25:07.175964"]]
217
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
218
+  (0.4ms) rollback transaction
219
+  (0.1ms) begin transaction
220
+ -------------------------------------------------------------------
221
+ ViewsGeneratorTest: test_0001_Assert all views are properly created
222
+ -------------------------------------------------------------------
223
+  (0.1ms) rollback transaction
224
+  (0.0ms) begin transaction
225
+ -----------------------------------------------------------------------------------------
226
+ PointlessFeedback::CaptchaTest::.pass?: test_0001_returns true if Google response is true
227
+ -----------------------------------------------------------------------------------------
228
+  (0.1ms) rollback transaction
229
+  (0.1ms) begin transaction
230
+ ------------------------------------------------------------------------------------------
231
+ PointlessFeedback::CaptchaTest::.pass?: test_0002_returns false if Google response is true
232
+ ------------------------------------------------------------------------------------------
233
+  (0.1ms) rollback transaction
234
+  (0.1ms) begin transaction
235
+ --------------------------------------
236
+ PointlessFeedbackTest: test_0001_truth
237
+ --------------------------------------
238
+  (0.0ms) rollback transaction
239
+  (0.0ms) begin transaction
240
+ ---------------------------------------------------------------------------
241
+ PointlessFeedback::MessagesControllerTest::getting new: test_0001_anonymous
242
+ ---------------------------------------------------------------------------
243
+ Processing by PointlessFeedback::MessagesController#new as HTML
244
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.8ms)
245
+ Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
246
+  (0.0ms) rollback transaction
247
+  (0.0ms) begin transaction
248
+ ---------------------------------------------------------------------------
249
+ PointlessFeedback::MessagesControllerTest::getting new: test_0002_anonymous
250
+ ---------------------------------------------------------------------------
251
+ Processing by PointlessFeedback::MessagesController#new as HTML
252
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.9ms)
253
+ Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
254
+  (0.1ms) rollback transaction
255
+  (0.0ms) begin transaction
256
+ ---------------------------------------------------------------------------
257
+ PointlessFeedback::MessagesControllerTest::getting new: test_0003_anonymous
258
+ ---------------------------------------------------------------------------
259
+ Processing by PointlessFeedback::MessagesController#new as HTML
260
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.9ms)
261
+ Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
262
+  (0.0ms) rollback transaction
263
+  (0.1ms) begin transaction
264
+ ---------------------------------------------------------------------------------------------------------------------------------
265
+ PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is false: test_0001_does not send any mail
266
+ ---------------------------------------------------------------------------------------------------------------------------------
267
+  (0.0ms) SAVEPOINT active_record_1
268
+ SQL (0.4ms) INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["created_at", "2022-05-18 14:25:07.207133"], ["updated_at", "2022-05-18 14:25:07.207133"]]
269
+  (0.1ms) RELEASE SAVEPOINT active_record_1
270
+  (0.3ms) rollback transaction
271
+  (0.1ms) begin transaction
272
+ ------------------------------------------------------------------------------------------------------
273
+ PointlessFeedback::MessagesControllerTest::posting to create::with invalid params: test_0001_anonymous
274
+ ------------------------------------------------------------------------------------------------------
275
+ Processing by PointlessFeedback::MessagesController#create as HTML
276
+ Parameters: {"message"=>{"name"=>""}}
277
+  (0.1ms) SAVEPOINT active_record_1
278
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
279
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (2.5ms)
280
+ Completed 200 OK in 7ms (Views: 3.9ms | ActiveRecord: 0.2ms)
281
+  (0.1ms) rollback transaction
282
+  (0.0ms) begin transaction
283
+ ------------------------------------------------------------------------------------------------------
284
+ PointlessFeedback::MessagesControllerTest::posting to create::with invalid params: test_0002_anonymous
285
+ ------------------------------------------------------------------------------------------------------
286
+ Processing by PointlessFeedback::MessagesController#create as HTML
287
+ Parameters: {"message"=>{"name"=>""}}
288
+  (0.1ms) SAVEPOINT active_record_1
289
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
290
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (2.4ms)
291
+ Completed 200 OK in 8ms (Views: 3.5ms | ActiveRecord: 0.1ms)
292
+  (0.1ms) rollback transaction
293
+  (0.0ms) begin transaction
294
+ ------------------------------------------------------------------------------------------------------
295
+ PointlessFeedback::MessagesControllerTest::posting to create::with invalid params: test_0003_anonymous
296
+ ------------------------------------------------------------------------------------------------------
297
+ Processing by PointlessFeedback::MessagesController#create as HTML
298
+ Parameters: {"message"=>{"name"=>""}}
299
+  (0.1ms) SAVEPOINT active_record_1
300
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
301
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (4.1ms)
302
+ Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.1ms)
303
+  (0.1ms) rollback transaction
304
+  (0.0ms) begin transaction
305
+ -----------------------------------------------------------------------
306
+ MainAppRootUrlTest: test_0001_root_url link points to main_app.root_url
307
+ -----------------------------------------------------------------------
308
+ Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-18 10:25:07 -0400
309
+ Processing by PointlessFeedback::MessagesController#new as HTML
310
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (2.1ms)
311
+ Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
312
+  (0.1ms) rollback transaction
313
+  (0.0ms) begin transaction
314
+ ---------------------------------------------------------------------
315
+ InstallGeneratorTest: test_0001_Assert all files are properly created
316
+ ---------------------------------------------------------------------
317
+  (0.1ms) rollback transaction
318
+  (0.1ms) begin transaction
319
+ ---------------------------------------------------------------------------------------------------------------------------------
320
+ PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is true: test_0001_sends mail after create
321
+ ---------------------------------------------------------------------------------------------------------------------------------
322
+  (0.0ms) SAVEPOINT active_record_1
323
+ SQL (0.4ms) INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["created_at", "2022-05-18 14:25:07.255001"], ["updated_at", "2022-05-18 14:25:07.255001"]]
324
+  (0.1ms) RELEASE SAVEPOINT active_record_1
325
+  (0.5ms) rollback transaction
326
+  (0.1ms) begin transaction
327
+ ---------------------------------------------------------------
328
+ PointlessFeedback::FeedbackMailerTest: test_0001_feedback email
329
+ ---------------------------------------------------------------
330
+  (0.1ms) SAVEPOINT active_record_1
331
+ SQL (0.3ms) INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["created_at", "2022-05-18 14:25:07.420699"], ["updated_at", "2022-05-18 14:25:07.420699"]]
332
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.4ms)
333
+
334
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 48.0ms
335
+
336
+ Sent mail to to@example.com (6.8ms)
337
+ Date: Wed, 18 May 2022 10:25:07 -0400
338
+ From: feedback@pointlesscorp.com
339
+ To: to@example.com
340
+ Message-ID: <628501c37451c_36583ff41243795c663eb@Noahs-MBP.localdomain.mail>
341
+ Subject: Feedback
342
+ Mime-Version: 1.0
343
+ Content-Type: text/html;
344
+ charset=UTF-8
345
+ Content-Transfer-Encoding: 7bit
346
+
347
+ You've got feedback!
348
+
349
+ <p>Name: A Developer</p>
350
+ <p>Email Address: developer@pointlesscorp.com</p>
351
+ <p>Topic: Other</p>
352
+ <p>Description: Site is broke</p>
353
+
354
+  (0.1ms) RELEASE SAVEPOINT active_record_1
355
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
356
+
357
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.2ms
358
+  (0.7ms) rollback transaction
359
+  (0.1ms) begin transaction
360
+ --------------------------------------------------------------------
361
+ PointlessFeedback::FeedbackMailerTest: test_0002_feedback email body
362
+ --------------------------------------------------------------------
363
+  (0.0ms) SAVEPOINT active_record_1
364
+ SQL (0.4ms) INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["created_at", "2022-05-18 14:25:07.483486"], ["updated_at", "2022-05-18 14:25:07.483486"]]
365
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
366
+
367
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.3ms
368
+
369
+ Sent mail to to@example.com (1.3ms)
370
+ Date: Wed, 18 May 2022 10:25:07 -0400
371
+ From: feedback@pointlesscorp.com
372
+ To: to@example.com
373
+ Message-ID: <628501c376e3a_36583ff41243795c6645f@Noahs-MBP.localdomain.mail>
374
+ Subject: Feedback
375
+ Mime-Version: 1.0
376
+ Content-Type: text/html;
377
+ charset=UTF-8
378
+ Content-Transfer-Encoding: 7bit
379
+
380
+ You've got feedback!
381
+
382
+ <p>Name: A Developer</p>
383
+ <p>Email Address: developer@pointlesscorp.com</p>
384
+ <p>Topic: Other</p>
385
+ <p>Description: Site is broke</p>
386
+
387
+  (0.0ms) RELEASE SAVEPOINT active_record_1
388
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
389
+
390
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.6ms
391
+  (0.4ms) rollback transaction
392
+  (0.0ms) begin transaction
393
+ -----------------------------------------------------------------------------
394
+ PointlessFeedback::FeedbackMailerTest: test_0003_feedback from email when set
395
+ -----------------------------------------------------------------------------
396
+  (0.0ms) SAVEPOINT active_record_1
397
+ SQL (0.4ms) INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["created_at", "2022-05-18 14:25:07.490725"], ["updated_at", "2022-05-18 14:25:07.490725"]]
398
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
399
+
400
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.0ms
401
+
402
+ Sent mail to to@example.com (1.5ms)
403
+ Date: Wed, 18 May 2022 10:25:07 -0400
404
+ From: feedback@pointlesscorp.com
405
+ To: to@example.com
406
+ Message-ID: <628501c378857_36583ff41243795c6652e@Noahs-MBP.localdomain.mail>
407
+ Subject: Feedback
408
+ Mime-Version: 1.0
409
+ Content-Type: text/html;
410
+ charset=UTF-8
411
+ Content-Transfer-Encoding: 7bit
412
+
413
+ You've got feedback!
414
+
415
+ <p>Name: A Developer</p>
416
+ <p>Email Address: developer@pointlesscorp.com</p>
417
+ <p>Topic: Other</p>
418
+ <p>Description: Site is broke</p>
419
+
420
+  (0.0ms) RELEASE SAVEPOINT active_record_1
421
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
422
+
423
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.7ms
424
+  (0.6ms) rollback transaction
425
+  (0.1ms) begin transaction
426
+ -------------------------------------------------------------------------------------------
427
+ PointlessFeedback::FeedbackMailerTest: test_0004_feedback from email when set as the sender
428
+ -------------------------------------------------------------------------------------------
429
+  (0.1ms) SAVEPOINT active_record_1
430
+ SQL (0.6ms) INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["created_at", "2022-05-18 14:25:07.498289"], ["updated_at", "2022-05-18 14:25:07.498289"]]
431
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
432
+
433
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.8ms
434
+
435
+ Sent mail to to@example.com (1.1ms)
436
+ Date: Wed, 18 May 2022 10:25:07 -0400
437
+ From: from@example.com
438
+ To: to@example.com
439
+ Message-ID: <628501c37a6cb_36583ff41243795c6661b@Noahs-MBP.localdomain.mail>
440
+ Subject: Feedback
441
+ Mime-Version: 1.0
442
+ Content-Type: text/html;
443
+ charset=UTF-8
444
+ Content-Transfer-Encoding: 7bit
445
+
446
+ You've got feedback!
447
+
448
+ <p>Name: A Developer</p>
449
+ <p>Email Address: developer@pointlesscorp.com</p>
450
+ <p>Topic: Other</p>
451
+ <p>Description: Site is broke</p>
452
+
453
+  (0.1ms) RELEASE SAVEPOINT active_record_1
454
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
455
+
456
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.3ms
457
+  (0.4ms) rollback transaction
458
+  (0.1ms) begin transaction
459
+ ----------------------------------------------------------------------------------------------------
460
+ PointlessFeedback::MessageTest::validating against spam: test_0001_allows descriptions with no links
461
+ ----------------------------------------------------------------------------------------------------
462
+  (0.1ms) rollback transaction
463
+  (0.0ms) begin transaction
464
+ -------------------------------------------------------------------------------------------------------------------
465
+ PointlessFeedback::MessageTest::validating against spam: test_0002_does not allow descriptions with 3 or more links
466
+ -------------------------------------------------------------------------------------------------------------------
467
+  (0.0ms) rollback transaction
468
+  (0.0ms) begin transaction
469
+ ----------------------------------------------------------------------------------------------------------------------
470
+ FeedbackSubmissionTest::submitting feedback with the invalid word in description: test_0001_redirects to the root path
471
+ ----------------------------------------------------------------------------------------------------------------------
472
+ Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-18 10:25:07 -0400
473
+ Processing by PointlessFeedback::MessagesController#new as HTML
474
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.5ms)
475
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
476
+ Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2022-05-18 10:25:07 -0400
477
+ Processing by PointlessFeedback::MessagesController#create as HTML
478
+ Parameters: {"utf8"=>"✓", "message"=>{"name"=>"Eli", "email_address"=>"eli@example.com", "topic"=>"Other", "description"=>"I got nymphomania.", "contact_info"=>""}, "commit"=>"Submit"}
479
+  (0.0ms) SAVEPOINT active_record_1
480
+ SQL (0.3ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "I got nymphomania."], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2022-05-18 14:25:07.521703"], ["updated_at", "2022-05-18 14:25:07.521703"]]
481
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
482
+
483
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.0ms
484
+
485
+ Sent mail to to@example.com (1.5ms)
486
+ Date: Wed, 18 May 2022 10:25:07 -0400
487
+ From: eli@example.com
488
+ To: to@example.com
489
+ Message-ID: <628501c380148_36583ff41243795c667d8@Noahs-MBP.localdomain.mail>
490
+ Subject: Feedback
491
+ Mime-Version: 1.0
492
+ Content-Type: text/html;
493
+ charset=UTF-8
494
+ Content-Transfer-Encoding: 7bit
495
+
496
+ You've got feedback!
497
+
498
+ <p>Name: Eli</p>
499
+ <p>Email Address: eli@example.com</p>
500
+ <p>Topic: Other</p>
501
+ <p>Description: I got nymphomania.</p>
502
+
503
+  (0.1ms) RELEASE SAVEPOINT active_record_1
504
+ Redirected to http://www.example.com/
505
+ Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
506
+ Started GET "/" for 127.0.0.1 at 2022-05-18 10:25:07 -0400
507
+ Processing by HomeController#index as HTML
508
+ Rendered home/index.html.erb within layouts/application (0.2ms)
509
+ Completed 200 OK in 1ms (Views: 1.3ms | ActiveRecord: 0.0ms)
510
+  (0.6ms) rollback transaction
511
+  (0.1ms) begin transaction
512
+ -----------------------------------------------------------------------------------------------------------------------
513
+ FeedbackSubmissionTest::submitting feedback with the invalid word in description: test_0002_thanks message is displayed
514
+ -----------------------------------------------------------------------------------------------------------------------
515
+ Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-18 10:25:07 -0400
516
+ Processing by PointlessFeedback::MessagesController#new as HTML
517
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.4ms)
518
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
519
+ Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2022-05-18 10:25:07 -0400
520
+ Processing by PointlessFeedback::MessagesController#create as HTML
521
+ Parameters: {"utf8"=>"✓", "message"=>{"name"=>"Eli", "email_address"=>"eli@example.com", "topic"=>"Other", "description"=>"I got nymphomania.", "contact_info"=>""}, "commit"=>"Submit"}
522
+  (0.1ms) SAVEPOINT active_record_1
523
+ SQL (0.5ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "I got nymphomania."], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2022-05-18 14:25:07.544363"], ["updated_at", "2022-05-18 14:25:07.544363"]]
524
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
525
+
526
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.4ms
527
+
528
+ Sent mail to to@example.com (2.4ms)
529
+ Date: Wed, 18 May 2022 10:25:07 -0400
530
+ From: eli@example.com
531
+ To: to@example.com
532
+ Message-ID: <628501c385bdf_36583ff41243795c66852@Noahs-MBP.localdomain.mail>
533
+ Subject: Feedback
534
+ Mime-Version: 1.0
535
+ Content-Type: text/html;
536
+ charset=UTF-8
537
+ Content-Transfer-Encoding: 7bit
538
+
539
+ You've got feedback!
540
+
541
+ <p>Name: Eli</p>
542
+ <p>Email Address: eli@example.com</p>
543
+ <p>Topic: Other</p>
544
+ <p>Description: I got nymphomania.</p>
545
+
546
+  (0.1ms) RELEASE SAVEPOINT active_record_1
547
+ Redirected to http://www.example.com/
548
+ Completed 302 Found in 7ms (ActiveRecord: 0.6ms)
549
+ Started GET "/" for 127.0.0.1 at 2022-05-18 10:25:07 -0400
550
+ Processing by HomeController#index as HTML
551
+ Rendered home/index.html.erb within layouts/application (0.3ms)
552
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
553
+  (0.5ms) rollback transaction
554
+  (0.1ms) begin transaction
555
+ ----------------------------------------------------------------------------------------
556
+ PointlessFeedback::MessageTest::validating email: test_0001_allows a valid email address
557
+ ----------------------------------------------------------------------------------------
558
+  (0.0ms) rollback transaction
559
+  (0.0ms) begin transaction
560
+ -------------------------------------------------------------------------------------------------
561
+ PointlessFeedback::MessageTest::validating email: test_0002_does not allow invalid emails address
562
+ -------------------------------------------------------------------------------------------------
563
+  (0.1ms) rollback transaction
564
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
565
+  (0.1ms) begin transaction
566
+ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
567
+ PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is true::when the description contains an invalid word: test_0001_does not send mail after create
568
+ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
569
+  (0.1ms) SAVEPOINT active_record_1
570
+ SQL (0.5ms) INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "I have nymphomania."], ["topic", "Other"], ["created_at", "2022-05-18 14:34:57.192465"], ["updated_at", "2022-05-18 14:34:57.192465"]]
571
+  (0.1ms) RELEASE SAVEPOINT active_record_1
572
+  (0.3ms) rollback transaction
573
+  (0.0ms) begin transaction
574
+ ----------------------------------------------------------------------------------------------------------------------
575
+ FeedbackSubmissionTest::submitting feedback with the invalid word in description: test_0001_redirects to the root path
576
+ ----------------------------------------------------------------------------------------------------------------------
577
+ Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-18 10:34:57 -0400
578
+ Processing by PointlessFeedback::MessagesController#new as HTML
579
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (16.0ms)
580
+ Completed 200 OK in 124ms (Views: 124.2ms | ActiveRecord: 0.0ms)
581
+ Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2022-05-18 10:34:57 -0400
582
+ Processing by PointlessFeedback::MessagesController#create as HTML
583
+ Parameters: {"utf8"=>"✓", "message"=>{"name"=>"Eli", "email_address"=>"eli@example.com", "topic"=>"Other", "description"=>"I got nymphomania.", "contact_info"=>""}, "commit"=>"Submit"}
584
+  (0.0ms) SAVEPOINT active_record_1
585
+ SQL (0.5ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "I got nymphomania."], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2022-05-18 14:34:57.341023"], ["updated_at", "2022-05-18 14:34:57.341023"]]
586
+  (0.0ms) RELEASE SAVEPOINT active_record_1
587
+ Redirected to http://www.example.com/
588
+ Completed 302 Found in 10ms (ActiveRecord: 0.6ms)
589
+ Started GET "/" for 127.0.0.1 at 2022-05-18 10:34:57 -0400
590
+ Processing by HomeController#index as HTML
591
+ Rendered home/index.html.erb within layouts/application (0.6ms)
592
+ Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
593
+  (0.4ms) rollback transaction
594
+  (0.0ms) begin transaction
595
+ -----------------------------------------------------------------------------------------------------------------------
596
+ FeedbackSubmissionTest::submitting feedback with the invalid word in description: test_0002_thanks message is displayed
597
+ -----------------------------------------------------------------------------------------------------------------------
598
+ Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-18 10:34:57 -0400
599
+ Processing by PointlessFeedback::MessagesController#new as HTML
600
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.6ms)
601
+ Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
602
+ Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2022-05-18 10:34:57 -0400
603
+ Processing by PointlessFeedback::MessagesController#create as HTML
604
+ Parameters: {"utf8"=>"✓", "message"=>{"name"=>"Eli", "email_address"=>"eli@example.com", "topic"=>"Other", "description"=>"I got nymphomania.", "contact_info"=>""}, "commit"=>"Submit"}
605
+  (0.1ms) SAVEPOINT active_record_1
606
+ SQL (0.4ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "I got nymphomania."], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2022-05-18 14:34:57.375341"], ["updated_at", "2022-05-18 14:34:57.375341"]]
607
+  (0.0ms) RELEASE SAVEPOINT active_record_1
608
+ Redirected to http://www.example.com/
609
+ Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
610
+ Started GET "/" for 127.0.0.1 at 2022-05-18 10:34:57 -0400
611
+ Processing by HomeController#index as HTML
612
+ Rendered home/index.html.erb within layouts/application (0.4ms)
613
+ Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
614
+  (0.4ms) rollback transaction
615
+  (0.1ms) begin transaction
616
+ ---------------------------------------------------------------
617
+ PointlessFeedback::FeedbackMailerTest: test_0001_feedback email
618
+ ---------------------------------------------------------------
619
+  (0.1ms) SAVEPOINT active_record_1
620
+ SQL (0.4ms) INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["created_at", "2022-05-18 14:34:57.537977"], ["updated_at", "2022-05-18 14:34:57.537977"]]
621
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.4ms)
622
+
623
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 26.8ms
624
+
625
+ Sent mail to to@example.com (5.0ms)
626
+ Date: Wed, 18 May 2022 10:34:57 -0400
627
+ From: feedback@pointlesscorp.com
628
+ To: to@example.com
629
+ Message-ID: <628504118b56c_3aee3fd34dc37944268b@Noahs-MBP.localdomain.mail>
630
+ Subject: Feedback
631
+ Mime-Version: 1.0
632
+ Content-Type: text/html;
633
+ charset=UTF-8
634
+ Content-Transfer-Encoding: 7bit
635
+
636
+ You've got feedback!
637
+
638
+ <p>Name: A Developer</p>
639
+ <p>Email Address: developer@pointlesscorp.com</p>
640
+ <p>Topic: Other</p>
641
+ <p>Description: Site is broke</p>
642
+
643
+  (0.1ms) RELEASE SAVEPOINT active_record_1
644
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
645
+
646
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.9ms
647
+  (0.8ms) rollback transaction
648
+  (0.0ms) begin transaction
649
+ --------------------------------------------------------------------
650
+ PointlessFeedback::FeedbackMailerTest: test_0002_feedback email body
651
+ --------------------------------------------------------------------
652
+  (0.0ms) SAVEPOINT active_record_1
653
+ SQL (0.5ms) INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["created_at", "2022-05-18 14:34:57.576768"], ["updated_at", "2022-05-18 14:34:57.576768"]]
654
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
655
+
656
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.2ms
657
+
658
+ Sent mail to to@example.com (1.3ms)
659
+ Date: Wed, 18 May 2022 10:34:57 -0400
660
+ From: feedback@pointlesscorp.com
661
+ To: to@example.com
662
+ Message-ID: <628504118d97e_3aee3fd34dc37944279c@Noahs-MBP.localdomain.mail>
663
+ Subject: Feedback
664
+ Mime-Version: 1.0
665
+ Content-Type: text/html;
666
+ charset=UTF-8
667
+ Content-Transfer-Encoding: 7bit
668
+
669
+ You've got feedback!
670
+
671
+ <p>Name: A Developer</p>
672
+ <p>Email Address: developer@pointlesscorp.com</p>
673
+ <p>Topic: Other</p>
674
+ <p>Description: Site is broke</p>
675
+
676
+  (0.1ms) RELEASE SAVEPOINT active_record_1
677
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
678
+
679
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.3ms
680
+  (0.4ms) rollback transaction
681
+  (0.1ms) begin transaction
682
+ -----------------------------------------------------------------------------
683
+ PointlessFeedback::FeedbackMailerTest: test_0003_feedback from email when set
684
+ -----------------------------------------------------------------------------
685
+  (0.1ms) SAVEPOINT active_record_1
686
+ SQL (0.6ms) INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["created_at", "2022-05-18 14:34:57.585591"], ["updated_at", "2022-05-18 14:34:57.585591"]]
687
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
688
+
689
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.0ms
690
+
691
+ Sent mail to to@example.com (1.4ms)
692
+ Date: Wed, 18 May 2022 10:34:57 -0400
693
+ From: feedback@pointlesscorp.com
694
+ To: to@example.com
695
+ Message-ID: <628504118fb75_3aee3fd34dc379442893@Noahs-MBP.localdomain.mail>
696
+ Subject: Feedback
697
+ Mime-Version: 1.0
698
+ Content-Type: text/html;
699
+ charset=UTF-8
700
+ Content-Transfer-Encoding: 7bit
701
+
702
+ You've got feedback!
703
+
704
+ <p>Name: A Developer</p>
705
+ <p>Email Address: developer@pointlesscorp.com</p>
706
+ <p>Topic: Other</p>
707
+ <p>Description: Site is broke</p>
708
+
709
+  (0.1ms) RELEASE SAVEPOINT active_record_1
710
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
711
+
712
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.8ms
713
+  (0.4ms) rollback transaction
714
+  (0.0ms) begin transaction
715
+ -------------------------------------------------------------------------------------------
716
+ PointlessFeedback::FeedbackMailerTest: test_0004_feedback from email when set as the sender
717
+ -------------------------------------------------------------------------------------------
718
+  (0.0ms) SAVEPOINT active_record_1
719
+ SQL (0.3ms) INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["created_at", "2022-05-18 14:34:57.592636"], ["updated_at", "2022-05-18 14:34:57.592636"]]
720
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
721
+
722
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.0ms
723
+
724
+ Sent mail to to@example.com (1.5ms)
725
+ Date: Wed, 18 May 2022 10:34:57 -0400
726
+ From: from@example.com
727
+ To: to@example.com
728
+ Message-ID: <6285041191564_3aee3fd34dc379442911@Noahs-MBP.localdomain.mail>
729
+ Subject: Feedback
730
+ Mime-Version: 1.0
731
+ Content-Type: text/html;
732
+ charset=UTF-8
733
+ Content-Transfer-Encoding: 7bit
734
+
735
+ You've got feedback!
736
+
737
+ <p>Name: A Developer</p>
738
+ <p>Email Address: developer@pointlesscorp.com</p>
739
+ <p>Topic: Other</p>
740
+ <p>Description: Site is broke</p>
741
+
742
+  (0.1ms) RELEASE SAVEPOINT active_record_1
743
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
744
+
745
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.0ms
746
+  (0.4ms) rollback transaction
747
+  (0.0ms) begin transaction
748
+ ----------------------------------------------------------------------------------------------------
749
+ PointlessFeedback::MessageTest::validating against spam: test_0001_allows descriptions with no links
750
+ ----------------------------------------------------------------------------------------------------
751
+  (0.0ms) rollback transaction
752
+  (0.0ms) begin transaction
753
+ -------------------------------------------------------------------------------------------------------------------
754
+ PointlessFeedback::MessageTest::validating against spam: test_0002_does not allow descriptions with 3 or more links
755
+ -------------------------------------------------------------------------------------------------------------------
756
+  (0.0ms) rollback transaction
757
+  (0.0ms) begin transaction
758
+ ---------------------------------------------------------------------------
759
+ PointlessFeedback::MessagesControllerTest::getting new: test_0001_anonymous
760
+ ---------------------------------------------------------------------------
761
+ Processing by PointlessFeedback::MessagesController#new as HTML
762
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.8ms)
763
+ Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
764
+  (0.1ms) rollback transaction
765
+  (0.1ms) begin transaction
766
+ ---------------------------------------------------------------------------
767
+ PointlessFeedback::MessagesControllerTest::getting new: test_0002_anonymous
768
+ ---------------------------------------------------------------------------
769
+ Processing by PointlessFeedback::MessagesController#new as HTML
770
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.9ms)
771
+ Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
772
+  (0.1ms) rollback transaction
773
+  (0.0ms) begin transaction
774
+ ---------------------------------------------------------------------------
775
+ PointlessFeedback::MessagesControllerTest::getting new: test_0003_anonymous
776
+ ---------------------------------------------------------------------------
777
+ Processing by PointlessFeedback::MessagesController#new as HTML
778
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.4ms)
779
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
780
+  (0.0ms) rollback transaction
781
+  (0.0ms) begin transaction
782
+ -------------------------------------------------------------------------------------------------------------------
783
+ FeedbackSubmissionTest::submitting feedback with the honeypot field filled in: test_0001_redirects to the root path
784
+ -------------------------------------------------------------------------------------------------------------------
785
+ Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-18 10:34:57 -0400
786
+ Processing by PointlessFeedback::MessagesController#new as HTML
787
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.7ms)
788
+ Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
789
+ Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2022-05-18 10:34:57 -0400
790
+ Processing by PointlessFeedback::MessagesController#create as HTML
791
+ Parameters: {"utf8"=>"✓", "message"=>{"name"=>"Eli", "email_address"=>"eli@example.com", "topic"=>"Other", "description"=>"This site is awful", "contact_info"=>"I'm a spam bot!"}, "commit"=>"Submit"}
792
+  (0.0ms) SAVEPOINT active_record_1
793
+ SQL (0.4ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "This site is awful"], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2022-05-18 14:34:57.631591"], ["updated_at", "2022-05-18 14:34:57.631591"]]
794
+  (0.0ms) RELEASE SAVEPOINT active_record_1
795
+ Redirected to http://www.example.com/
796
+ Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
797
+ Started GET "/" for 127.0.0.1 at 2022-05-18 10:34:57 -0400
798
+ Processing by HomeController#index as HTML
799
+ Rendered home/index.html.erb within layouts/application (0.2ms)
800
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
801
+  (0.4ms) rollback transaction
802
+  (0.0ms) begin transaction
803
+ --------------------------------------------------------------------------------------------------------------------
804
+ FeedbackSubmissionTest::submitting feedback with the honeypot field filled in: test_0002_thanks message is displayed
805
+ --------------------------------------------------------------------------------------------------------------------
806
+ Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-18 10:34:57 -0400
807
+ Processing by PointlessFeedback::MessagesController#new as HTML
808
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.5ms)
809
+ Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
810
+ Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2022-05-18 10:34:57 -0400
811
+ Processing by PointlessFeedback::MessagesController#create as HTML
812
+ Parameters: {"utf8"=>"✓", "message"=>{"name"=>"Eli", "email_address"=>"eli@example.com", "topic"=>"Other", "description"=>"This site is awful", "contact_info"=>"I'm a spam bot!"}, "commit"=>"Submit"}
813
+  (0.1ms) SAVEPOINT active_record_1
814
+ SQL (0.5ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "This site is awful"], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2022-05-18 14:34:57.652416"], ["updated_at", "2022-05-18 14:34:57.652416"]]
815
+  (0.1ms) RELEASE SAVEPOINT active_record_1
816
+ Redirected to http://www.example.com/
817
+ Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
818
+ Started GET "/" for 127.0.0.1 at 2022-05-18 10:34:57 -0400
819
+ Processing by HomeController#index as HTML
820
+ Rendered home/index.html.erb within layouts/application (0.2ms)
821
+ Completed 200 OK in 1ms (Views: 1.1ms | ActiveRecord: 0.0ms)
822
+  (0.4ms) rollback transaction
823
+  (0.1ms) begin transaction
824
+ -------------------------------------------------------------------
825
+ ViewsGeneratorTest: test_0001_Assert all views are properly created
826
+ -------------------------------------------------------------------
827
+  (0.1ms) rollback transaction
828
+  (0.1ms) begin transaction
829
+ ------------------------------------------------------------------------------------------------------
830
+ PointlessFeedback::MessagesControllerTest::posting to create::with invalid params: test_0001_anonymous
831
+ ------------------------------------------------------------------------------------------------------
832
+ Processing by PointlessFeedback::MessagesController#create as HTML
833
+ Parameters: {"message"=>{"name"=>""}}
834
+  (0.1ms) SAVEPOINT active_record_1
835
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
836
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (4.0ms)
837
+ Completed 200 OK in 10ms (Views: 5.8ms | ActiveRecord: 0.1ms)
838
+  (0.1ms) rollback transaction
839
+  (0.1ms) begin transaction
840
+ ------------------------------------------------------------------------------------------------------
841
+ PointlessFeedback::MessagesControllerTest::posting to create::with invalid params: test_0002_anonymous
842
+ ------------------------------------------------------------------------------------------------------
843
+ Processing by PointlessFeedback::MessagesController#create as HTML
844
+ Parameters: {"message"=>{"name"=>""}}
845
+  (0.1ms) SAVEPOINT active_record_1
846
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
847
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (2.5ms)
848
+ Completed 200 OK in 6ms (Views: 3.6ms | ActiveRecord: 0.1ms)
849
+  (0.1ms) rollback transaction
850
+  (0.1ms) begin transaction
851
+ ------------------------------------------------------------------------------------------------------
852
+ PointlessFeedback::MessagesControllerTest::posting to create::with invalid params: test_0003_anonymous
853
+ ------------------------------------------------------------------------------------------------------
854
+ Processing by PointlessFeedback::MessagesController#create as HTML
855
+ Parameters: {"message"=>{"name"=>""}}
856
+  (0.1ms) SAVEPOINT active_record_1
857
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
858
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (4.4ms)
859
+ Completed 200 OK in 10ms (Views: 5.9ms | ActiveRecord: 0.2ms)
860
+  (0.1ms) rollback transaction
861
+  (0.1ms) begin transaction
862
+ -----------------------------------------------------------------------------------------------------------------------------------------------
863
+ PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with overridden after_message_create_path: test_0001_anonymous
864
+ -----------------------------------------------------------------------------------------------------------------------------------------------
865
+ Processing by PointlessFeedback::MessagesController#create as HTML
866
+ Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
867
+  (0.1ms) SAVEPOINT active_record_1
868
+ SQL (0.5ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-18 14:34:57.707523"], ["updated_at", "2022-05-18 14:34:57.707523"]]
869
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
870
+
871
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.8ms
872
+
873
+ Sent mail to to@example.com (1.5ms)
874
+ Date: Wed, 18 May 2022 10:34:57 -0400
875
+ From: some_guy@web.com
876
+ To: to@example.com
877
+ Message-ID: <62850411ad6e9_3aee3fd34dc37944308e@Noahs-MBP.localdomain.mail>
878
+ Subject: Feedback
879
+ Mime-Version: 1.0
880
+ Content-Type: text/html;
881
+ charset=UTF-8
882
+ Content-Transfer-Encoding: 7bit
883
+
884
+ You've got feedback!
885
+
886
+ <p>Name: Some Guy</p>
887
+ <p>Email Address: some_guy@web.com</p>
888
+ <p>Topic: Other</p>
889
+ <p>Description: Yo website bork</p>
890
+
891
+  (0.1ms) RELEASE SAVEPOINT active_record_1
892
+ Redirected to http://test.host/dashboard
893
+ Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
894
+  (0.6ms) rollback transaction
895
+  (0.1ms) begin transaction
896
+ -----------------------------------------------------------------------------------------------------------------------------------------------
897
+ PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with overridden after_message_create_path: test_0002_anonymous
898
+ -----------------------------------------------------------------------------------------------------------------------------------------------
899
+ Processing by PointlessFeedback::MessagesController#create as HTML
900
+ Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
901
+  (0.1ms) SAVEPOINT active_record_1
902
+ SQL (0.3ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-18 14:34:57.716052"], ["updated_at", "2022-05-18 14:34:57.716052"]]
903
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
904
+
905
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.1ms
906
+
907
+ Sent mail to to@example.com (1.8ms)
908
+ Date: Wed, 18 May 2022 10:34:57 -0400
909
+ From: some_guy@web.com
910
+ To: to@example.com
911
+ Message-ID: <62850411af942_3aee3fd34dc37944312f@Noahs-MBP.localdomain.mail>
912
+ Subject: Feedback
913
+ Mime-Version: 1.0
914
+ Content-Type: text/html;
915
+ charset=UTF-8
916
+ Content-Transfer-Encoding: 7bit
917
+
918
+ You've got feedback!
919
+
920
+ <p>Name: Some Guy</p>
921
+ <p>Email Address: some_guy@web.com</p>
922
+ <p>Topic: Other</p>
923
+ <p>Description: Yo website bork</p>
924
+
925
+  (0.1ms) RELEASE SAVEPOINT active_record_1
926
+ Redirected to http://test.host/dashboard
927
+ Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
928
+  (0.4ms) rollback transaction
929
+  (0.1ms) begin transaction
930
+ -----------------------------------------------------------------------------------------------------------------------------------------------
931
+ PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with overridden after_message_create_path: test_0003_anonymous
932
+ -----------------------------------------------------------------------------------------------------------------------------------------------
933
+ Processing by PointlessFeedback::MessagesController#create as HTML
934
+ Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
935
+  (0.1ms) SAVEPOINT active_record_1
936
+ SQL (0.4ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-18 14:34:57.724364"], ["updated_at", "2022-05-18 14:34:57.724364"]]
937
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
938
+
939
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.4ms
940
+
941
+ Sent mail to to@example.com (2.1ms)
942
+ Date: Wed, 18 May 2022 10:34:57 -0400
943
+ From: some_guy@web.com
944
+ To: to@example.com
945
+ Message-ID: <62850411b1c42_3aee3fd34dc379443219@Noahs-MBP.localdomain.mail>
946
+ Subject: Feedback
947
+ Mime-Version: 1.0
948
+ Content-Type: text/html;
949
+ charset=UTF-8
950
+ Content-Transfer-Encoding: 7bit
951
+
952
+ You've got feedback!
953
+
954
+ <p>Name: Some Guy</p>
955
+ <p>Email Address: some_guy@web.com</p>
956
+ <p>Topic: Other</p>
957
+ <p>Description: Yo website bork</p>
958
+
959
+  (0.1ms) RELEASE SAVEPOINT active_record_1
960
+ Redirected to http://test.host/dashboard
961
+ Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
962
+  (0.5ms) rollback transaction
963
+  (0.1ms) begin transaction
964
+ --------------------------------------------------------------------------------------------------------------------------------------------
965
+ PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with default after_message_create_path: test_0001_anonymous
966
+ --------------------------------------------------------------------------------------------------------------------------------------------
967
+ Processing by PointlessFeedback::MessagesController#create as HTML
968
+ Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
969
+  (0.1ms) SAVEPOINT active_record_1
970
+ SQL (0.3ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-18 14:34:57.734362"], ["updated_at", "2022-05-18 14:34:57.734362"]]
971
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
972
+
973
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.9ms
974
+
975
+ Sent mail to to@example.com (1.7ms)
976
+ Date: Wed, 18 May 2022 10:34:57 -0400
977
+ From: some_guy@web.com
978
+ To: to@example.com
979
+ Message-ID: <62850411b3eb3_3aee3fd34dc379443342@Noahs-MBP.localdomain.mail>
980
+ Subject: Feedback
981
+ Mime-Version: 1.0
982
+ Content-Type: text/html;
983
+ charset=UTF-8
984
+ Content-Transfer-Encoding: 7bit
985
+
986
+ You've got feedback!
987
+
988
+ <p>Name: Some Guy</p>
989
+ <p>Email Address: some_guy@web.com</p>
990
+ <p>Topic: Other</p>
991
+ <p>Description: Yo website bork</p>
992
+
993
+  (0.1ms) RELEASE SAVEPOINT active_record_1
994
+ Redirected to http://test.host/
995
+ Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
996
+  (0.4ms) rollback transaction
997
+  (0.1ms) begin transaction
998
+ --------------------------------------------------------------------------------------------------------------------------------------------
999
+ PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with default after_message_create_path: test_0002_anonymous
1000
+ --------------------------------------------------------------------------------------------------------------------------------------------
1001
+ Processing by PointlessFeedback::MessagesController#create as HTML
1002
+ Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
1003
+  (0.0ms) SAVEPOINT active_record_1
1004
+ SQL (0.4ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-18 14:34:57.741942"], ["updated_at", "2022-05-18 14:34:57.741942"]]
1005
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
1006
+
1007
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.8ms
1008
+
1009
+ Sent mail to to@example.com (1.6ms)
1010
+ Date: Wed, 18 May 2022 10:34:57 -0400
1011
+ From: some_guy@web.com
1012
+ To: to@example.com
1013
+ Message-ID: <62850411b5c29_3aee3fd34dc3794434c3@Noahs-MBP.localdomain.mail>
1014
+ Subject: Feedback
1015
+ Mime-Version: 1.0
1016
+ Content-Type: text/html;
1017
+ charset=UTF-8
1018
+ Content-Transfer-Encoding: 7bit
1019
+
1020
+ You've got feedback!
1021
+
1022
+ <p>Name: Some Guy</p>
1023
+ <p>Email Address: some_guy@web.com</p>
1024
+ <p>Topic: Other</p>
1025
+ <p>Description: Yo website bork</p>
1026
+
1027
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1028
+ Redirected to http://test.host/
1029
+ Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
1030
+  (0.6ms) rollback transaction
1031
+  (0.1ms) begin transaction
1032
+ --------------------------------------------------------------------------------------------------------------------------------------------
1033
+ PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with default after_message_create_path: test_0003_anonymous
1034
+ --------------------------------------------------------------------------------------------------------------------------------------------
1035
+ Processing by PointlessFeedback::MessagesController#create as HTML
1036
+ Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
1037
+  (0.1ms) SAVEPOINT active_record_1
1038
+ SQL (0.5ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-18 14:34:57.750088"], ["updated_at", "2022-05-18 14:34:57.750088"]]
1039
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
1040
+
1041
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.1ms
1042
+
1043
+ Sent mail to to@example.com (1.4ms)
1044
+ Date: Wed, 18 May 2022 10:34:57 -0400
1045
+ From: some_guy@web.com
1046
+ To: to@example.com
1047
+ Message-ID: <62850411b7f65_3aee3fd34dc379443544@Noahs-MBP.localdomain.mail>
1048
+ Subject: Feedback
1049
+ Mime-Version: 1.0
1050
+ Content-Type: text/html;
1051
+ charset=UTF-8
1052
+ Content-Transfer-Encoding: 7bit
1053
+
1054
+ You've got feedback!
1055
+
1056
+ <p>Name: Some Guy</p>
1057
+ <p>Email Address: some_guy@web.com</p>
1058
+ <p>Topic: Other</p>
1059
+ <p>Description: Yo website bork</p>
1060
+
1061
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1062
+ Redirected to http://test.host/
1063
+ Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
1064
+  (0.5ms) rollback transaction
1065
+  (0.1ms) begin transaction
1066
+ ----------------------------------------------------------------------------------------
1067
+ PointlessFeedback::MessageTest::validating email: test_0001_allows a valid email address
1068
+ ----------------------------------------------------------------------------------------
1069
+  (0.1ms) rollback transaction
1070
+  (0.0ms) begin transaction
1071
+ -------------------------------------------------------------------------------------------------
1072
+ PointlessFeedback::MessageTest::validating email: test_0002_does not allow invalid emails address
1073
+ -------------------------------------------------------------------------------------------------
1074
+  (0.0ms) rollback transaction
1075
+  (0.0ms) begin transaction
1076
+ ---------------------------------------------------------------------------------------------------------------------------------
1077
+ PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is true: test_0001_sends mail after create
1078
+ ---------------------------------------------------------------------------------------------------------------------------------
1079
+  (0.0ms) SAVEPOINT active_record_1
1080
+ SQL (0.6ms) INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["created_at", "2022-05-18 14:34:57.760367"], ["updated_at", "2022-05-18 14:34:57.760367"]]
1081
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1082
+  (0.4ms) rollback transaction
1083
+  (0.1ms) begin transaction
1084
+ ---------------------------------------------------------------------
1085
+ InstallGeneratorTest: test_0001_Assert all files are properly created
1086
+ ---------------------------------------------------------------------
1087
+  (0.1ms) rollback transaction
1088
+  (0.1ms) begin transaction
1089
+ ---------------------------------------------------------------------------------
1090
+ FeedbackSubmissionTest::submitting feedback: test_0001_redirects to the root path
1091
+ ---------------------------------------------------------------------------------
1092
+ Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-18 10:34:57 -0400
1093
+ Processing by PointlessFeedback::MessagesController#new as HTML
1094
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.4ms)
1095
+ Completed 200 OK in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms)
1096
+ Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2022-05-18 10:34:57 -0400
1097
+ Processing by PointlessFeedback::MessagesController#create as HTML
1098
+ Parameters: {"utf8"=>"✓", "message"=>{"name"=>"Eli", "email_address"=>"eli@example.com", "topic"=>"Other", "description"=>"This site is awful", "contact_info"=>""}, "commit"=>"Submit"}
1099
+  (0.1ms) SAVEPOINT active_record_1
1100
+ SQL (0.5ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "This site is awful"], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2022-05-18 14:34:57.779560"], ["updated_at", "2022-05-18 14:34:57.779560"]]
1101
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
1102
+
1103
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.0ms
1104
+
1105
+ Sent mail to test1@example.com, test2@example.com (1.2ms)
1106
+ Date: Wed, 18 May 2022 10:34:57 -0400
1107
+ From: eli@example.com
1108
+ To: test1@example.com,
1109
+ test2@example.com
1110
+ Message-ID: <62850411bf1e1_3aee3fd34dc379443626@Noahs-MBP.localdomain.mail>
1111
+ Subject: Feedback
1112
+ Mime-Version: 1.0
1113
+ Content-Type: text/html;
1114
+ charset=UTF-8
1115
+ Content-Transfer-Encoding: 7bit
1116
+
1117
+ You've got feedback!
1118
+
1119
+ <p>Name: Eli</p>
1120
+ <p>Email Address: eli@example.com</p>
1121
+ <p>Topic: Other</p>
1122
+ <p>Description: This site is awful</p>
1123
+
1124
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1125
+ Redirected to http://www.example.com/
1126
+ Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
1127
+ Started GET "/" for 127.0.0.1 at 2022-05-18 10:34:57 -0400
1128
+ Processing by HomeController#index as HTML
1129
+ Rendered home/index.html.erb within layouts/application (0.3ms)
1130
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
1131
+  (0.5ms) rollback transaction
1132
+  (0.1ms) begin transaction
1133
+ ----------------------------------------------------------------------------------
1134
+ FeedbackSubmissionTest::submitting feedback: test_0002_thanks message is displayed
1135
+ ----------------------------------------------------------------------------------
1136
+ Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-18 10:34:57 -0400
1137
+ Processing by PointlessFeedback::MessagesController#new as HTML
1138
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.8ms)
1139
+ Completed 200 OK in 3ms (Views: 3.1ms | ActiveRecord: 0.0ms)
1140
+ Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2022-05-18 10:34:57 -0400
1141
+ Processing by PointlessFeedback::MessagesController#create as HTML
1142
+ Parameters: {"utf8"=>"✓", "message"=>{"name"=>"Eli", "email_address"=>"eli@example.com", "topic"=>"Other", "description"=>"This site is awful", "contact_info"=>""}, "commit"=>"Submit"}
1143
+  (0.1ms) SAVEPOINT active_record_1
1144
+ SQL (0.4ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "This site is awful"], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2022-05-18 14:34:57.802846"], ["updated_at", "2022-05-18 14:34:57.802846"]]
1145
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
1146
+
1147
+ PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.2ms
1148
+
1149
+ Sent mail to test1@example.com, test2@example.com (1.5ms)
1150
+ Date: Wed, 18 May 2022 10:34:57 -0400
1151
+ From: eli@example.com
1152
+ To: test1@example.com,
1153
+ test2@example.com
1154
+ Message-ID: <62850411c4dca_3aee3fd34dc379443741@Noahs-MBP.localdomain.mail>
1155
+ Subject: Feedback
1156
+ Mime-Version: 1.0
1157
+ Content-Type: text/html;
1158
+ charset=UTF-8
1159
+ Content-Transfer-Encoding: 7bit
1160
+
1161
+ You've got feedback!
1162
+
1163
+ <p>Name: Eli</p>
1164
+ <p>Email Address: eli@example.com</p>
1165
+ <p>Topic: Other</p>
1166
+ <p>Description: This site is awful</p>
1167
+
1168
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1169
+ Redirected to http://www.example.com/
1170
+ Completed 302 Found in 6ms (ActiveRecord: 0.5ms)
1171
+ Started GET "/" for 127.0.0.1 at 2022-05-18 10:34:57 -0400
1172
+ Processing by HomeController#index as HTML
1173
+ Rendered home/index.html.erb within layouts/application (0.3ms)
1174
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
1175
+  (0.4ms) rollback transaction
1176
+  (0.1ms) begin transaction
1177
+ -------------------------------------------------------------------------------
1178
+ PointlessFeedback::MessageTest::validating topics: test_0001_allows valid topic
1179
+ -------------------------------------------------------------------------------
1180
+  (0.1ms) rollback transaction
1181
+  (0.0ms) begin transaction
1182
+ -----------------------------------------------------------------------------------------
1183
+ PointlessFeedback::MessageTest::validating topics: test_0002_does not allow invalid topic
1184
+ -----------------------------------------------------------------------------------------
1185
+  (0.0ms) rollback transaction
1186
+  (0.0ms) begin transaction
1187
+ -------------------------------------------------------
1188
+ PointlessFeedback::MessageTest: test_0001_requires name
1189
+ -------------------------------------------------------
1190
+  (0.0ms) SAVEPOINT active_record_1
1191
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1192
+  (0.1ms) rollback transaction
1193
+  (0.0ms) begin transaction
1194
+ ----------------------------------------------------------------
1195
+ PointlessFeedback::MessageTest: test_0002_requires email_address
1196
+ ----------------------------------------------------------------
1197
+  (0.0ms) SAVEPOINT active_record_1
1198
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1199
+  (0.0ms) rollback transaction
1200
+  (0.0ms) begin transaction
1201
+ --------------------------------------------------------
1202
+ PointlessFeedback::MessageTest: test_0003_requires topic
1203
+ --------------------------------------------------------
1204
+  (0.0ms) SAVEPOINT active_record_1
1205
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1206
+  (0.0ms) rollback transaction
1207
+  (0.0ms) begin transaction
1208
+ --------------------------------------------------------------
1209
+ PointlessFeedback::MessageTest: test_0004_requires description
1210
+ --------------------------------------------------------------
1211
+  (0.0ms) SAVEPOINT active_record_1
1212
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1213
+  (0.0ms) rollback transaction
1214
+  (0.0ms) begin transaction
1215
+ -----------------------------------------------------------------------------------------
1216
+ PointlessFeedback::CaptchaTest::.pass?: test_0001_returns true if Google response is true
1217
+ -----------------------------------------------------------------------------------------
1218
+  (0.0ms) rollback transaction
1219
+  (0.0ms) begin transaction
1220
+ ------------------------------------------------------------------------------------------
1221
+ PointlessFeedback::CaptchaTest::.pass?: test_0002_returns false if Google response is true
1222
+ ------------------------------------------------------------------------------------------
1223
+  (0.1ms) rollback transaction
1224
+  (0.1ms) begin transaction
1225
+ ---------------------------------------------------------------------------------------------------------------------------------
1226
+ PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is false: test_0001_does not send any mail
1227
+ ---------------------------------------------------------------------------------------------------------------------------------
1228
+  (0.0ms) SAVEPOINT active_record_1
1229
+ SQL (0.4ms) INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["created_at", "2022-05-18 14:34:57.831913"], ["updated_at", "2022-05-18 14:34:57.831913"]]
1230
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1231
+  (0.3ms) rollback transaction
1232
+  (0.0ms) begin transaction
1233
+ --------------------------------------
1234
+ PointlessFeedbackTest: test_0001_truth
1235
+ --------------------------------------
1236
+  (0.0ms) rollback transaction
1237
+  (0.1ms) begin transaction
1238
+ -----------------------------------------------------------------------------------------------------------------
1239
+ PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0001_outputs named path from the main app
1240
+ -----------------------------------------------------------------------------------------------------------------
1241
+  (0.0ms) rollback transaction
1242
+  (0.0ms) begin transaction
1243
+ ----------------------------------------------------------------------------------------------------------------
1244
+ PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0002_outputs named url from the main app
1245
+ ----------------------------------------------------------------------------------------------------------------
1246
+  (0.1ms) rollback transaction
1247
+  (0.0ms) begin transaction
1248
+ ---------------------------------------------------------------------------------------------------------------
1249
+ PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0003_raises exception with other routes
1250
+ ---------------------------------------------------------------------------------------------------------------
1251
+  (0.1ms) rollback transaction
1252
+  (0.0ms) begin transaction
1253
+ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1254
+ PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is true::when the honeypot field is not nil: test_0001_does not send mail after create
1255
+ -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
1256
+  (0.0ms) SAVEPOINT active_record_1
1257
+ SQL (0.4ms) INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["created_at", "2022-05-18 14:34:57.838631"], ["updated_at", "2022-05-18 14:34:57.838631"]]
1258
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1259
+  (0.3ms) rollback transaction
1260
+  (0.1ms) begin transaction
1261
+ -----------------------------------------------------------------------
1262
+ MainAppRootUrlTest: test_0001_root_url link points to main_app.root_url
1263
+ -----------------------------------------------------------------------
1264
+ Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-18 10:34:57 -0400
1265
+ Processing by PointlessFeedback::MessagesController#new as HTML
1266
+ Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.9ms)
1267
+ Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
1268
+  (0.1ms) rollback transaction