pointless_feedback 4.1.2 → 4.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +9 -0
- data/app/controllers/pointless_feedback/messages_controller.rb +2 -1
- data/app/models/pointless_feedback/message.rb +17 -2
- data/app/views/pointless_feedback/feedback_mailer/feedback.html.erb +3 -0
- data/app/views/pointless_feedback/messages/new.html.erb +7 -0
- data/db/migrate/20220518205500_add_url_to_pointless_feedback_messages.rb +5 -0
- data/lib/pointless_feedback/version.rb +1 -1
- data/lib/pointless_feedback.rb +9 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +3 -2
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +37 -0
- data/test/dummy/log/test.log +2463 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/-San3EpdqmXucKjWKzj9Y4ohakTwPve802nHvuwO7Jo.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/-TbbWWLFMt3DZ-5B-vJndj1TPRC1zyxAx9oZII0qDIs.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/-pidKv4sRS1AHIdUq8SdhCbK7RBLxqZOj2J2IrQ2MNc.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/0VTf0cLtjXR4AmORRQFKGgColA8oNkthmlSu3--4vkA.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/2LTXJO_QqTJ-5H5vls5NuO33l2HnQEPCKyys1rJ9CHU.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/38mZ9NIe5KF1MIDDVKe1TEFBcbukU8SM-tJue0yS3wk.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/6FZ81vWyUKy_DcxXDyZXdmGk9uRdL45m8mIRYeAAki0.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/887XcE3QtqTB1awIHVQ-wZbPREASak6jnAIv5c8YkWs.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/8UZRZEdnJXQI7pEZv5web_6NYGb4tsqrjexyklH9diw.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/AZJGtFTJnm8JYaSaOYw5ksyiBB2wnq7xUR03pySV74s.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/BrYu8MASRWPjOHXf27JbA7JxBQut8DGQqvNrSSbXcRo.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/EWWsa5wkShiSKZ2PTmerV3jNjniPCSr6VKY8-AeWlDA.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/IOGWMsC0BM_CMkmkUN8bS1rbgafmhkAC8dcxottrV4Y.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/KKSQk2Nb-fK9dAUIu54bCqJmsIl8CfyyMiL2kI6RhZA.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/LKQqIm9BPozk5o1llvYa7OYd_UP5yTwGvgR42mgrcgg.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/QrWJdwZgo4HAZ_7Vuhk9kz53541WB0e2f_EZd51klNs.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/UyxPIgqnOJ95iAcVy9cpZEBquCjaDqLAo-ZLVmMQTtY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ZbStkrcw5La9IsJfkcHZtBR6GXZIYYsZEkeoiAejt14.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/_F3f3F0jM19jFISuXW_iDifAYddNggPVDu0nZsAQ1qs.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/cfiN2OwI0tIVEMcsMPNe3Ne9SI-eG5gK9SUCClSF5PU.cache +3 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/ixs_LE4mzdmsCUhekBJ0_i4P33LTFSIfqISpj_BRXQM.cache +2 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/lUTpNNW813UzMkR7C2NJ5W6EhyzD2WMmeLp94WjnhLY.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/rDNrWZd1_Nv7apS-pCv6ymh9c9MxOx_jBYxb0ecEbJM.cache +1 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/uFVbUDnZucyvZeWah0qrbvBAmACAym8OCVUhBU80FV8.cache +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/v3.0/xmAOdsDeC2k2YPPp5IBPPyzY4uZgOtYDMWM4RzxKGuI.cache +1 -0
- data/test/factories/messages.rb +1 -0
- data/test/functional/pointless_feedback/feedback_mailer_test.rb +12 -0
- data/test/integration/pointless_feedback/feedback_submission_test.rb +23 -0
- data/test/tmp/config/initializers/pointless_feedback.rb +37 -0
- data/test/unit/pointless_feedback/message_test.rb +11 -0
- metadata +66 -7
data/test/dummy/log/test.log
CHANGED
@@ -0,0 +1,2463 @@
|
|
1
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
11
|
+
Redirected to http://test.host/dashboard
|
12
|
+
Completed 302 Found in 14ms (ActiveRecord: 0.8ms)
|
13
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
14
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
21
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
23
|
+
Redirected to http://test.host/dashboard
|
24
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
25
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
26
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
33
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
35
|
+
Redirected to http://test.host/dashboard
|
36
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.7ms)
|
37
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
38
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39
|
+
-------------------------------------------------------------------------------
|
40
|
+
PointlessFeedback::MessageTest::validating topics: test_0001_allows valid topic
|
41
|
+
-------------------------------------------------------------------------------
|
42
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
44
|
+
-----------------------------------------------------------------------------------------
|
45
|
+
PointlessFeedback::MessageTest::validating topics: test_0002_does not allow invalid topic
|
46
|
+
-----------------------------------------------------------------------------------------
|
47
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
48
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
49
|
+
-------------------------------------------------------
|
50
|
+
PointlessFeedback::MessageTest: test_0001_requires name
|
51
|
+
-------------------------------------------------------
|
52
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
53
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
54
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
55
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
56
|
+
----------------------------------------------------------------
|
57
|
+
PointlessFeedback::MessageTest: test_0002_requires email_address
|
58
|
+
----------------------------------------------------------------
|
59
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
60
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
61
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
62
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
63
|
+
--------------------------------------------------------
|
64
|
+
PointlessFeedback::MessageTest: test_0003_requires topic
|
65
|
+
--------------------------------------------------------
|
66
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
67
|
+
[1m[36m (0.2ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
68
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
70
|
+
--------------------------------------------------------------
|
71
|
+
PointlessFeedback::MessageTest: test_0004_requires description
|
72
|
+
--------------------------------------------------------------
|
73
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
74
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
75
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
76
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
77
|
+
-----------------------------------------------------------------------------------------------------------------
|
78
|
+
PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0001_outputs named path from the main app
|
79
|
+
-----------------------------------------------------------------------------------------------------------------
|
80
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
81
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
82
|
+
----------------------------------------------------------------------------------------------------------------
|
83
|
+
PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0002_outputs named url from the main app
|
84
|
+
----------------------------------------------------------------------------------------------------------------
|
85
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
86
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87
|
+
---------------------------------------------------------------------------------------------------------------
|
88
|
+
PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0003_raises exception with other routes
|
89
|
+
---------------------------------------------------------------------------------------------------------------
|
90
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
91
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
98
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
100
|
+
Redirected to http://test.host/
|
101
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
|
102
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
103
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
110
|
+
[1m[35mSQL (0.7ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
112
|
+
Redirected to http://test.host/
|
113
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.8ms)
|
114
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
115
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
122
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
124
|
+
Redirected to http://test.host/
|
125
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.7ms)
|
126
|
+
[1m[36m (1.0ms)[0m [1mrollback transaction[0m
|
127
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
139
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
148
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
160
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
169
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
181
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
190
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
202
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
211
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
216
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
218
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
219
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
220
|
+
-------------------------------------------------------------------
|
221
|
+
ViewsGeneratorTest: test_0001_Assert all views are properly created
|
222
|
+
-------------------------------------------------------------------
|
223
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
224
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
225
|
+
-----------------------------------------------------------------------------------------
|
226
|
+
PointlessFeedback::CaptchaTest::.pass?: test_0001_returns true if Google response is true
|
227
|
+
-----------------------------------------------------------------------------------------
|
228
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
229
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
230
|
+
------------------------------------------------------------------------------------------
|
231
|
+
PointlessFeedback::CaptchaTest::.pass?: test_0002_returns false if Google response is true
|
232
|
+
------------------------------------------------------------------------------------------
|
233
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
234
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
235
|
+
--------------------------------------
|
236
|
+
PointlessFeedbackTest: test_0001_truth
|
237
|
+
--------------------------------------
|
238
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
239
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
247
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
255
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
263
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
264
|
+
---------------------------------------------------------------------------------------------------------------------------------
|
265
|
+
PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is false: test_0001_does not send any mail
|
266
|
+
---------------------------------------------------------------------------------------------------------------------------------
|
267
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
268
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
270
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
271
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
278
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
282
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
289
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
293
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
300
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
304
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
313
|
+
[1m[35m (0.0ms)[0m begin transaction
|
314
|
+
---------------------------------------------------------------------
|
315
|
+
InstallGeneratorTest: test_0001_Assert all files are properly created
|
316
|
+
---------------------------------------------------------------------
|
317
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
318
|
+
[1m[35m (0.1ms)[0m begin transaction
|
319
|
+
---------------------------------------------------------------------------------------------------------------------------------
|
320
|
+
PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is true: test_0001_sends mail after create
|
321
|
+
---------------------------------------------------------------------------------------------------------------------------------
|
322
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
323
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
325
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
326
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
327
|
+
---------------------------------------------------------------
|
328
|
+
PointlessFeedback::FeedbackMailerTest: test_0001_feedback email
|
329
|
+
---------------------------------------------------------------
|
330
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
331
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
359
|
+
[1m[35m (0.1ms)[0m begin transaction
|
360
|
+
--------------------------------------------------------------------
|
361
|
+
PointlessFeedback::FeedbackMailerTest: test_0002_feedback email body
|
362
|
+
--------------------------------------------------------------------
|
363
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
364
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
392
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
393
|
+
-----------------------------------------------------------------------------
|
394
|
+
PointlessFeedback::FeedbackMailerTest: test_0003_feedback from email when set
|
395
|
+
-----------------------------------------------------------------------------
|
396
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
397
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
425
|
+
[1m[35m (0.1ms)[0m begin transaction
|
426
|
+
-------------------------------------------------------------------------------------------
|
427
|
+
PointlessFeedback::FeedbackMailerTest: test_0004_feedback from email when set as the sender
|
428
|
+
-------------------------------------------------------------------------------------------
|
429
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
430
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
458
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
459
|
+
----------------------------------------------------------------------------------------------------
|
460
|
+
PointlessFeedback::MessageTest::validating against spam: test_0001_allows descriptions with no links
|
461
|
+
----------------------------------------------------------------------------------------------------
|
462
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
463
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
464
|
+
-------------------------------------------------------------------------------------------------------------------
|
465
|
+
PointlessFeedback::MessageTest::validating against spam: test_0002_does not allow descriptions with 3 or more links
|
466
|
+
-------------------------------------------------------------------------------------------------------------------
|
467
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
468
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
480
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
511
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
523
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
554
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
555
|
+
----------------------------------------------------------------------------------------
|
556
|
+
PointlessFeedback::MessageTest::validating email: test_0001_allows a valid email address
|
557
|
+
----------------------------------------------------------------------------------------
|
558
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
559
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
560
|
+
-------------------------------------------------------------------------------------------------
|
561
|
+
PointlessFeedback::MessageTest::validating email: test_0002_does not allow invalid emails address
|
562
|
+
-------------------------------------------------------------------------------------------------
|
563
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
564
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
565
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
570
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
572
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
573
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
585
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
594
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
606
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
615
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
616
|
+
---------------------------------------------------------------
|
617
|
+
PointlessFeedback::FeedbackMailerTest: test_0001_feedback email
|
618
|
+
---------------------------------------------------------------
|
619
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
620
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
648
|
+
[1m[35m (0.0ms)[0m begin transaction
|
649
|
+
--------------------------------------------------------------------
|
650
|
+
PointlessFeedback::FeedbackMailerTest: test_0002_feedback email body
|
651
|
+
--------------------------------------------------------------------
|
652
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
653
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
681
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682
|
+
-----------------------------------------------------------------------------
|
683
|
+
PointlessFeedback::FeedbackMailerTest: test_0003_feedback from email when set
|
684
|
+
-----------------------------------------------------------------------------
|
685
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
686
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
714
|
+
[1m[35m (0.0ms)[0m begin transaction
|
715
|
+
-------------------------------------------------------------------------------------------
|
716
|
+
PointlessFeedback::FeedbackMailerTest: test_0004_feedback from email when set as the sender
|
717
|
+
-------------------------------------------------------------------------------------------
|
718
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
719
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
747
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
748
|
+
----------------------------------------------------------------------------------------------------
|
749
|
+
PointlessFeedback::MessageTest::validating against spam: test_0001_allows descriptions with no links
|
750
|
+
----------------------------------------------------------------------------------------------------
|
751
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
752
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
753
|
+
-------------------------------------------------------------------------------------------------------------------
|
754
|
+
PointlessFeedback::MessageTest::validating against spam: test_0002_does not allow descriptions with 3 or more links
|
755
|
+
-------------------------------------------------------------------------------------------------------------------
|
756
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
757
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
765
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
773
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
781
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
793
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
802
|
+
[1m[35m (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
814
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
823
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
824
|
+
-------------------------------------------------------------------
|
825
|
+
ViewsGeneratorTest: test_0001_Assert all views are properly created
|
826
|
+
-------------------------------------------------------------------
|
827
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
828
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
835
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
839
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
846
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
850
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
857
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
861
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
868
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
892
|
+
Redirected to http://test.host/dashboard
|
893
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.6ms)
|
894
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
895
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
902
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
926
|
+
Redirected to http://test.host/dashboard
|
927
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
|
928
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
929
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
936
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
960
|
+
Redirected to http://test.host/dashboard
|
961
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.5ms)
|
962
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
963
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
970
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
994
|
+
Redirected to http://test.host/
|
995
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
996
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
997
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1004
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1028
|
+
Redirected to http://test.host/
|
1029
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
|
1030
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1031
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1038
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1062
|
+
Redirected to http://test.host/
|
1063
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.7ms)
|
1064
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1065
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1066
|
+
----------------------------------------------------------------------------------------
|
1067
|
+
PointlessFeedback::MessageTest::validating email: test_0001_allows a valid email address
|
1068
|
+
----------------------------------------------------------------------------------------
|
1069
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1070
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1071
|
+
-------------------------------------------------------------------------------------------------
|
1072
|
+
PointlessFeedback::MessageTest::validating email: test_0002_does not allow invalid emails address
|
1073
|
+
-------------------------------------------------------------------------------------------------
|
1074
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1075
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1076
|
+
---------------------------------------------------------------------------------------------------------------------------------
|
1077
|
+
PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is true: test_0001_sends mail after create
|
1078
|
+
---------------------------------------------------------------------------------------------------------------------------------
|
1079
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1080
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1082
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1083
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1084
|
+
---------------------------------------------------------------------
|
1085
|
+
InstallGeneratorTest: test_0001_Assert all files are properly created
|
1086
|
+
---------------------------------------------------------------------
|
1087
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1088
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1100
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1132
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1144
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1176
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1177
|
+
-------------------------------------------------------------------------------
|
1178
|
+
PointlessFeedback::MessageTest::validating topics: test_0001_allows valid topic
|
1179
|
+
-------------------------------------------------------------------------------
|
1180
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1181
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1182
|
+
-----------------------------------------------------------------------------------------
|
1183
|
+
PointlessFeedback::MessageTest::validating topics: test_0002_does not allow invalid topic
|
1184
|
+
-----------------------------------------------------------------------------------------
|
1185
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1186
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1187
|
+
-------------------------------------------------------
|
1188
|
+
PointlessFeedback::MessageTest: test_0001_requires name
|
1189
|
+
-------------------------------------------------------
|
1190
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1191
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1192
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1193
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1194
|
+
----------------------------------------------------------------
|
1195
|
+
PointlessFeedback::MessageTest: test_0002_requires email_address
|
1196
|
+
----------------------------------------------------------------
|
1197
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1198
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1199
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1200
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1201
|
+
--------------------------------------------------------
|
1202
|
+
PointlessFeedback::MessageTest: test_0003_requires topic
|
1203
|
+
--------------------------------------------------------
|
1204
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1205
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1206
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1207
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1208
|
+
--------------------------------------------------------------
|
1209
|
+
PointlessFeedback::MessageTest: test_0004_requires description
|
1210
|
+
--------------------------------------------------------------
|
1211
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1212
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1213
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1214
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1215
|
+
-----------------------------------------------------------------------------------------
|
1216
|
+
PointlessFeedback::CaptchaTest::.pass?: test_0001_returns true if Google response is true
|
1217
|
+
-----------------------------------------------------------------------------------------
|
1218
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1219
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1220
|
+
------------------------------------------------------------------------------------------
|
1221
|
+
PointlessFeedback::CaptchaTest::.pass?: test_0002_returns false if Google response is true
|
1222
|
+
------------------------------------------------------------------------------------------
|
1223
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1224
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1225
|
+
---------------------------------------------------------------------------------------------------------------------------------
|
1226
|
+
PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is false: test_0001_does not send any mail
|
1227
|
+
---------------------------------------------------------------------------------------------------------------------------------
|
1228
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1229
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1231
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1232
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1233
|
+
--------------------------------------
|
1234
|
+
PointlessFeedbackTest: test_0001_truth
|
1235
|
+
--------------------------------------
|
1236
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1237
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1238
|
+
-----------------------------------------------------------------------------------------------------------------
|
1239
|
+
PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0001_outputs named path from the main app
|
1240
|
+
-----------------------------------------------------------------------------------------------------------------
|
1241
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1242
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1243
|
+
----------------------------------------------------------------------------------------------------------------
|
1244
|
+
PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0002_outputs named url from the main app
|
1245
|
+
----------------------------------------------------------------------------------------------------------------
|
1246
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1247
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1248
|
+
---------------------------------------------------------------------------------------------------------------
|
1249
|
+
PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0003_raises exception with other routes
|
1250
|
+
---------------------------------------------------------------------------------------------------------------
|
1251
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1252
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1257
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1259
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1260
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1269
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1270
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1271
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1272
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1273
|
+
--------------------------------------
|
1274
|
+
PointlessFeedbackTest: test_0001_truth
|
1275
|
+
--------------------------------------
|
1276
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1277
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1278
|
+
-----------------------------------------------------------------------------------------------------------------
|
1279
|
+
PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0001_outputs named path from the main app
|
1280
|
+
-----------------------------------------------------------------------------------------------------------------
|
1281
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1282
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1283
|
+
----------------------------------------------------------------------------------------------------------------
|
1284
|
+
PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0002_outputs named url from the main app
|
1285
|
+
----------------------------------------------------------------------------------------------------------------
|
1286
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1287
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1288
|
+
---------------------------------------------------------------------------------------------------------------
|
1289
|
+
PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0003_raises exception with other routes
|
1290
|
+
---------------------------------------------------------------------------------------------------------------
|
1291
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1292
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1293
|
+
-------------------------------------------------------------------------------
|
1294
|
+
PointlessFeedback::MessageTest::validating topics: test_0001_allows valid topic
|
1295
|
+
-------------------------------------------------------------------------------
|
1296
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1297
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1298
|
+
-----------------------------------------------------------------------------------------
|
1299
|
+
PointlessFeedback::MessageTest::validating topics: test_0002_does not allow invalid topic
|
1300
|
+
-----------------------------------------------------------------------------------------
|
1301
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1302
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1303
|
+
---------------------------------------------------------------------------
|
1304
|
+
PointlessFeedback::MessagesControllerTest::getting new: test_0001_anonymous
|
1305
|
+
---------------------------------------------------------------------------
|
1306
|
+
Processing by PointlessFeedback::MessagesController#new as HTML
|
1307
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (0.9ms)
|
1308
|
+
Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.0ms)
|
1309
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1310
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1311
|
+
---------------------------------------------------------------------------
|
1312
|
+
PointlessFeedback::MessagesControllerTest::getting new: test_0002_anonymous
|
1313
|
+
---------------------------------------------------------------------------
|
1314
|
+
Processing by PointlessFeedback::MessagesController#new as HTML
|
1315
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (0.6ms)
|
1316
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
|
1317
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1318
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1319
|
+
---------------------------------------------------------------------------
|
1320
|
+
PointlessFeedback::MessagesControllerTest::getting new: test_0003_anonymous
|
1321
|
+
---------------------------------------------------------------------------
|
1322
|
+
Processing by PointlessFeedback::MessagesController#new as HTML
|
1323
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (0.6ms)
|
1324
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
|
1325
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1326
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1327
|
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1328
|
+
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
|
1329
|
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1330
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1331
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["url", "https://www.viget.com/"], ["created_at", "2022-05-19 13:12:16.929728"], ["updated_at", "2022-05-19 13:12:16.929728"]]
|
1332
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1333
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1334
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1335
|
+
------------------------------------------------------------------------------------------------------
|
1336
|
+
PointlessFeedback::MessagesControllerTest::posting to create::with invalid params: test_0001_anonymous
|
1337
|
+
------------------------------------------------------------------------------------------------------
|
1338
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
1339
|
+
Parameters: {"message"=>{"name"=>""}}
|
1340
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1341
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1342
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (0.7ms)
|
1343
|
+
Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.1ms)
|
1344
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1345
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1346
|
+
------------------------------------------------------------------------------------------------------
|
1347
|
+
PointlessFeedback::MessagesControllerTest::posting to create::with invalid params: test_0002_anonymous
|
1348
|
+
------------------------------------------------------------------------------------------------------
|
1349
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
1350
|
+
Parameters: {"message"=>{"name"=>""}}
|
1351
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1352
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1353
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (0.6ms)
|
1354
|
+
Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.1ms)
|
1355
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1356
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1357
|
+
------------------------------------------------------------------------------------------------------
|
1358
|
+
PointlessFeedback::MessagesControllerTest::posting to create::with invalid params: test_0003_anonymous
|
1359
|
+
------------------------------------------------------------------------------------------------------
|
1360
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
1361
|
+
Parameters: {"message"=>{"name"=>""}}
|
1362
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1363
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1364
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (0.6ms)
|
1365
|
+
Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.1ms)
|
1366
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1367
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1368
|
+
---------------------------------------------------------------------
|
1369
|
+
InstallGeneratorTest: test_0001_Assert all files are properly created
|
1370
|
+
---------------------------------------------------------------------
|
1371
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1372
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1373
|
+
---------------------------------------------------------------------------------------------------------------------------------
|
1374
|
+
PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is true: test_0001_sends mail after create
|
1375
|
+
---------------------------------------------------------------------------------------------------------------------------------
|
1376
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1377
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["url", "https://www.viget.com/"], ["created_at", "2022-05-19 13:12:16.956369"], ["updated_at", "2022-05-19 13:12:16.956369"]]
|
1378
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1379
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1380
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1381
|
+
-----------------------------------------------------------------------
|
1382
|
+
MainAppRootUrlTest: test_0001_root_url link points to main_app.root_url
|
1383
|
+
-----------------------------------------------------------------------
|
1384
|
+
Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-19 09:12:16 -0400
|
1385
|
+
Processing by PointlessFeedback::MessagesController#new as HTML
|
1386
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.3ms)
|
1387
|
+
Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
|
1388
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1389
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1390
|
+
--------------------------------------------------------------------------------------------------------------------------------------------
|
1391
|
+
PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with default after_message_create_path: test_0001_anonymous
|
1392
|
+
--------------------------------------------------------------------------------------------------------------------------------------------
|
1393
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
1394
|
+
Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
|
1395
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1396
|
+
[1m[35mSQL (0.5ms)[0m 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-19 13:12:16.967744"], ["updated_at", "2022-05-19 13:12:16.967744"]]
|
1397
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (1.7ms)
|
1398
|
+
|
1399
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 139.1ms
|
1400
|
+
|
1401
|
+
Sent mail to test1@example.com, test2@example.com (8.6ms)
|
1402
|
+
Date: Thu, 19 May 2022 09:12:17 -0400
|
1403
|
+
From: feedback@pointlesscorp.com
|
1404
|
+
To: test1@example.com,
|
1405
|
+
test2@example.com
|
1406
|
+
Message-ID: <628642311c403_b063fd80383794c45642@Noahs-MBP.localdomain.mail>
|
1407
|
+
Subject: Feedback
|
1408
|
+
Mime-Version: 1.0
|
1409
|
+
Content-Type: text/html;
|
1410
|
+
charset=UTF-8
|
1411
|
+
Content-Transfer-Encoding: 7bit
|
1412
|
+
|
1413
|
+
You've got feedback!
|
1414
|
+
|
1415
|
+
<p>Name: Some Guy</p>
|
1416
|
+
<p>Email Address: some_guy@web.com</p>
|
1417
|
+
<p>Topic: Other</p>
|
1418
|
+
<p>Description: Yo website bork</p>
|
1419
|
+
|
1420
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1421
|
+
Redirected to http://test.host/
|
1422
|
+
Completed 302 Found in 154ms (ActiveRecord: 0.6ms)
|
1423
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1424
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1425
|
+
--------------------------------------------------------------------------------------------------------------------------------------------
|
1426
|
+
PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with default after_message_create_path: test_0002_anonymous
|
1427
|
+
--------------------------------------------------------------------------------------------------------------------------------------------
|
1428
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
1429
|
+
Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
|
1430
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1431
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-19 13:12:17.123782"], ["updated_at", "2022-05-19 13:12:17.123782"]]
|
1432
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
|
1433
|
+
|
1434
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.8ms
|
1435
|
+
|
1436
|
+
Sent mail to test1@example.com, test2@example.com (1.1ms)
|
1437
|
+
Date: Thu, 19 May 2022 09:12:17 -0400
|
1438
|
+
From: feedback@pointlesscorp.com
|
1439
|
+
To: test1@example.com,
|
1440
|
+
test2@example.com
|
1441
|
+
Message-ID: <628642311ec72_b063fd80383794c45732@Noahs-MBP.localdomain.mail>
|
1442
|
+
Subject: Feedback
|
1443
|
+
Mime-Version: 1.0
|
1444
|
+
Content-Type: text/html;
|
1445
|
+
charset=UTF-8
|
1446
|
+
Content-Transfer-Encoding: 7bit
|
1447
|
+
|
1448
|
+
You've got feedback!
|
1449
|
+
|
1450
|
+
<p>Name: Some Guy</p>
|
1451
|
+
<p>Email Address: some_guy@web.com</p>
|
1452
|
+
<p>Topic: Other</p>
|
1453
|
+
<p>Description: Yo website bork</p>
|
1454
|
+
|
1455
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1456
|
+
Redirected to http://test.host/
|
1457
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1458
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1459
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1460
|
+
--------------------------------------------------------------------------------------------------------------------------------------------
|
1461
|
+
PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with default after_message_create_path: test_0003_anonymous
|
1462
|
+
--------------------------------------------------------------------------------------------------------------------------------------------
|
1463
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
1464
|
+
Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
|
1465
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1466
|
+
[1m[35mSQL (0.3ms)[0m 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-19 13:12:17.129727"], ["updated_at", "2022-05-19 13:12:17.129727"]]
|
1467
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
|
1468
|
+
|
1469
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.6ms
|
1470
|
+
|
1471
|
+
Sent mail to test1@example.com, test2@example.com (1.6ms)
|
1472
|
+
Date: Thu, 19 May 2022 09:12:17 -0400
|
1473
|
+
From: feedback@pointlesscorp.com
|
1474
|
+
To: test1@example.com,
|
1475
|
+
test2@example.com
|
1476
|
+
Message-ID: <6286423120927_b063fd80383794c4586b@Noahs-MBP.localdomain.mail>
|
1477
|
+
Subject: Feedback
|
1478
|
+
Mime-Version: 1.0
|
1479
|
+
Content-Type: text/html;
|
1480
|
+
charset=UTF-8
|
1481
|
+
Content-Transfer-Encoding: 7bit
|
1482
|
+
|
1483
|
+
You've got feedback!
|
1484
|
+
|
1485
|
+
<p>Name: Some Guy</p>
|
1486
|
+
<p>Email Address: some_guy@web.com</p>
|
1487
|
+
<p>Topic: Other</p>
|
1488
|
+
<p>Description: Yo website bork</p>
|
1489
|
+
|
1490
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1491
|
+
Redirected to http://test.host/
|
1492
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
|
1493
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1494
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1495
|
+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1496
|
+
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
|
1497
|
+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
1498
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1499
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "I have nymphomania."], ["topic", "Other"], ["url", "https://www.viget.com/"], ["created_at", "2022-05-19 13:12:17.136806"], ["updated_at", "2022-05-19 13:12:17.136806"]]
|
1500
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1501
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1502
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1503
|
+
---------------------------------------------------------------------------------------------------------------------------------
|
1504
|
+
PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is false: test_0001_does not send any mail
|
1505
|
+
---------------------------------------------------------------------------------------------------------------------------------
|
1506
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1507
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["url", "https://www.viget.com/"], ["created_at", "2022-05-19 13:12:17.139399"], ["updated_at", "2022-05-19 13:12:17.139399"]]
|
1508
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1509
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1510
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1511
|
+
-------------------------------------------------------
|
1512
|
+
PointlessFeedback::MessageTest: test_0001_requires name
|
1513
|
+
-------------------------------------------------------
|
1514
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1515
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1516
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1517
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1518
|
+
----------------------------------------------------------------
|
1519
|
+
PointlessFeedback::MessageTest: test_0002_requires email_address
|
1520
|
+
----------------------------------------------------------------
|
1521
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1522
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1523
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1524
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1525
|
+
--------------------------------------------------------
|
1526
|
+
PointlessFeedback::MessageTest: test_0003_requires topic
|
1527
|
+
--------------------------------------------------------
|
1528
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1529
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1530
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1531
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1532
|
+
--------------------------------------------------------------
|
1533
|
+
PointlessFeedback::MessageTest: test_0004_requires description
|
1534
|
+
--------------------------------------------------------------
|
1535
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1536
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1537
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1538
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1539
|
+
---------------------------------------------------------------
|
1540
|
+
PointlessFeedback::FeedbackMailerTest: test_0001_feedback email
|
1541
|
+
---------------------------------------------------------------
|
1542
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1543
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["url", "https://www.viget.com/"], ["created_at", "2022-05-19 13:12:17.152571"], ["updated_at", "2022-05-19 13:12:17.152571"]]
|
1544
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1545
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
|
1546
|
+
|
1547
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.8ms
|
1548
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1549
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1550
|
+
--------------------------------------------------------------------
|
1551
|
+
PointlessFeedback::FeedbackMailerTest: test_0002_feedback email body
|
1552
|
+
--------------------------------------------------------------------
|
1553
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1554
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["url", "https://www.viget.com/"], ["created_at", "2022-05-19 13:12:17.156335"], ["updated_at", "2022-05-19 13:12:17.156335"]]
|
1555
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1556
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
|
1557
|
+
|
1558
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.7ms
|
1559
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1560
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1561
|
+
-----------------------------------------------------------------------------------
|
1562
|
+
PointlessFeedback::FeedbackMailerTest: test_0003_feedback email body with URL field
|
1563
|
+
-----------------------------------------------------------------------------------
|
1564
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1565
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["url", "https://www.viget.com/"], ["created_at", "2022-05-19 13:12:17.160086"], ["updated_at", "2022-05-19 13:12:17.160086"]]
|
1566
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1567
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
|
1568
|
+
|
1569
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.7ms
|
1570
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1571
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1572
|
+
-----------------------------------------------------------------------------
|
1573
|
+
PointlessFeedback::FeedbackMailerTest: test_0004_feedback from email when set
|
1574
|
+
-----------------------------------------------------------------------------
|
1575
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1576
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["url", "https://www.viget.com/"], ["created_at", "2022-05-19 13:12:17.163656"], ["updated_at", "2022-05-19 13:12:17.163656"]]
|
1577
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1578
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
|
1579
|
+
|
1580
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.1ms
|
1581
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1582
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1583
|
+
-------------------------------------------------------------------------------------------
|
1584
|
+
PointlessFeedback::FeedbackMailerTest: test_0005_feedback from email when set as the sender
|
1585
|
+
-------------------------------------------------------------------------------------------
|
1586
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1587
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["url", "https://www.viget.com/"], ["created_at", "2022-05-19 13:12:17.169487"], ["updated_at", "2022-05-19 13:12:17.169487"]]
|
1588
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1589
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
|
1590
|
+
|
1591
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.9ms
|
1592
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1593
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1594
|
+
----------------------------------------------------------------------------------------------------
|
1595
|
+
PointlessFeedback::MessageTest::validating against spam: test_0001_allows descriptions with no links
|
1596
|
+
----------------------------------------------------------------------------------------------------
|
1597
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1598
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1599
|
+
-------------------------------------------------------------------------------------------------------------------
|
1600
|
+
PointlessFeedback::MessageTest::validating against spam: test_0002_does not allow descriptions with 3 or more links
|
1601
|
+
-------------------------------------------------------------------------------------------------------------------
|
1602
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1603
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1604
|
+
-----------------------------------------------------------------------------------------
|
1605
|
+
PointlessFeedback::CaptchaTest::.pass?: test_0001_returns true if Google response is true
|
1606
|
+
-----------------------------------------------------------------------------------------
|
1607
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1608
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1609
|
+
------------------------------------------------------------------------------------------
|
1610
|
+
PointlessFeedback::CaptchaTest::.pass?: test_0002_returns false if Google response is true
|
1611
|
+
------------------------------------------------------------------------------------------
|
1612
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1613
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1614
|
+
----------------------------------------------------------------------------------------
|
1615
|
+
PointlessFeedback::MessageTest::validating email: test_0001_allows a valid email address
|
1616
|
+
----------------------------------------------------------------------------------------
|
1617
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1618
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1619
|
+
-------------------------------------------------------------------------------------------------
|
1620
|
+
PointlessFeedback::MessageTest::validating email: test_0002_does not allow invalid emails address
|
1621
|
+
-------------------------------------------------------------------------------------------------
|
1622
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1623
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1624
|
+
----------------------------------------------------------------------------------------------------------------------
|
1625
|
+
FeedbackSubmissionTest::submitting feedback with the invalid word in description: test_0001_redirects to the root path
|
1626
|
+
----------------------------------------------------------------------------------------------------------------------
|
1627
|
+
Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-19 09:12:17 -0400
|
1628
|
+
Processing by PointlessFeedback::MessagesController#new as HTML
|
1629
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (0.7ms)
|
1630
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
|
1631
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1632
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1633
|
+
-----------------------------------------------------------------------------------------------------------------------
|
1634
|
+
FeedbackSubmissionTest::submitting feedback with the invalid word in description: test_0002_thanks message is displayed
|
1635
|
+
-----------------------------------------------------------------------------------------------------------------------
|
1636
|
+
Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-19 09:12:17 -0400
|
1637
|
+
Processing by PointlessFeedback::MessagesController#new as HTML
|
1638
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (0.7ms)
|
1639
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
|
1640
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1641
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1642
|
+
-----------------------------------------------------------------------------------------------------------------------------------------------
|
1643
|
+
PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with overridden after_message_create_path: test_0001_anonymous
|
1644
|
+
-----------------------------------------------------------------------------------------------------------------------------------------------
|
1645
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
1646
|
+
Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
|
1647
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1648
|
+
[1m[35mSQL (0.3ms)[0m 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-19 13:12:17.191207"], ["updated_at", "2022-05-19 13:12:17.191207"]]
|
1649
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1650
|
+
Redirected to http://test.host/dashboard
|
1651
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
1652
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1653
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1654
|
+
-----------------------------------------------------------------------------------------------------------------------------------------------
|
1655
|
+
PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with overridden after_message_create_path: test_0002_anonymous
|
1656
|
+
-----------------------------------------------------------------------------------------------------------------------------------------------
|
1657
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
1658
|
+
Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
|
1659
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1660
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-19 13:12:17.194646"], ["updated_at", "2022-05-19 13:12:17.194646"]]
|
1661
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1662
|
+
Redirected to http://test.host/dashboard
|
1663
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
1664
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1665
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1666
|
+
-----------------------------------------------------------------------------------------------------------------------------------------------
|
1667
|
+
PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with overridden after_message_create_path: test_0003_anonymous
|
1668
|
+
-----------------------------------------------------------------------------------------------------------------------------------------------
|
1669
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
1670
|
+
Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
|
1671
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1672
|
+
[1m[35mSQL (0.3ms)[0m 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-19 13:12:17.199069"], ["updated_at", "2022-05-19 13:12:17.199069"]]
|
1673
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1674
|
+
Redirected to http://test.host/dashboard
|
1675
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
|
1676
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1677
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1678
|
+
-------------------------------------------------------------------------------------------------------------------
|
1679
|
+
FeedbackSubmissionTest::submitting feedback with the honeypot field filled in: test_0001_redirects to the root path
|
1680
|
+
-------------------------------------------------------------------------------------------------------------------
|
1681
|
+
Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-19 09:12:17 -0400
|
1682
|
+
Processing by PointlessFeedback::MessagesController#new as HTML
|
1683
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (0.6ms)
|
1684
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
|
1685
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1686
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1687
|
+
--------------------------------------------------------------------------------------------------------------------
|
1688
|
+
FeedbackSubmissionTest::submitting feedback with the honeypot field filled in: test_0002_thanks message is displayed
|
1689
|
+
--------------------------------------------------------------------------------------------------------------------
|
1690
|
+
Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-19 09:12:17 -0400
|
1691
|
+
Processing by PointlessFeedback::MessagesController#new as HTML
|
1692
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (0.6ms)
|
1693
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
|
1694
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1695
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1696
|
+
---------------------------------------------------------------------------------
|
1697
|
+
FeedbackSubmissionTest::submitting feedback: test_0001_redirects to the root path
|
1698
|
+
---------------------------------------------------------------------------------
|
1699
|
+
Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-19 09:12:17 -0400
|
1700
|
+
Processing by PointlessFeedback::MessagesController#new as HTML
|
1701
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (0.6ms)
|
1702
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
|
1703
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1704
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1705
|
+
----------------------------------------------------------------------------------
|
1706
|
+
FeedbackSubmissionTest::submitting feedback: test_0002_thanks message is displayed
|
1707
|
+
----------------------------------------------------------------------------------
|
1708
|
+
Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-19 09:12:17 -0400
|
1709
|
+
Processing by PointlessFeedback::MessagesController#new as HTML
|
1710
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (0.7ms)
|
1711
|
+
Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
|
1712
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1713
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1714
|
+
-------------------------------------------------------------------
|
1715
|
+
ViewsGeneratorTest: test_0001_Assert all views are properly created
|
1716
|
+
-------------------------------------------------------------------
|
1717
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1718
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1719
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1720
|
+
-------------------------------------------------------------------
|
1721
|
+
ViewsGeneratorTest: test_0001_Assert all views are properly created
|
1722
|
+
-------------------------------------------------------------------
|
1723
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1724
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1725
|
+
---------------------------------------------------------------------------------------------------------------------------------
|
1726
|
+
PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is true: test_0001_sends mail after create
|
1727
|
+
---------------------------------------------------------------------------------------------------------------------------------
|
1728
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1729
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["url", "https://www.viget.com/"], ["created_at", "2022-05-19 13:13:06.182298"], ["updated_at", "2022-05-19 13:13:06.182298"]]
|
1730
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1731
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1732
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1733
|
+
------------------------------------------------------------------------------------------------------
|
1734
|
+
PointlessFeedback::MessagesControllerTest::posting to create::with invalid params: test_0001_anonymous
|
1735
|
+
------------------------------------------------------------------------------------------------------
|
1736
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
1737
|
+
Parameters: {"message"=>{"name"=>""}}
|
1738
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1739
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1740
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (17.6ms)
|
1741
|
+
Completed 200 OK in 133ms (Views: 127.4ms | ActiveRecord: 0.1ms)
|
1742
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1743
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1744
|
+
------------------------------------------------------------------------------------------------------
|
1745
|
+
PointlessFeedback::MessagesControllerTest::posting to create::with invalid params: test_0002_anonymous
|
1746
|
+
------------------------------------------------------------------------------------------------------
|
1747
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
1748
|
+
Parameters: {"message"=>{"name"=>""}}
|
1749
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1750
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1751
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (2.1ms)
|
1752
|
+
Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.1ms)
|
1753
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1754
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1755
|
+
------------------------------------------------------------------------------------------------------
|
1756
|
+
PointlessFeedback::MessagesControllerTest::posting to create::with invalid params: test_0003_anonymous
|
1757
|
+
------------------------------------------------------------------------------------------------------
|
1758
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
1759
|
+
Parameters: {"message"=>{"name"=>""}}
|
1760
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1761
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1762
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (4.5ms)
|
1763
|
+
Completed 200 OK in 12ms (Views: 6.3ms | ActiveRecord: 0.2ms)
|
1764
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1765
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1766
|
+
-------------------------------------------------------------------------------------------------------------------
|
1767
|
+
FeedbackSubmissionTest::submitting feedback with the honeypot field filled in: test_0001_redirects to the root path
|
1768
|
+
-------------------------------------------------------------------------------------------------------------------
|
1769
|
+
Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-19 09:13:06 -0400
|
1770
|
+
Processing by PointlessFeedback::MessagesController#new as HTML
|
1771
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (2.3ms)
|
1772
|
+
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
|
1773
|
+
Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2022-05-19 09:13:06 -0400
|
1774
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
1775
|
+
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"}
|
1776
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1777
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["description", "This site is awful"], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2022-05-19 13:13:06.383189"], ["updated_at", "2022-05-19 13:13:06.383189"]]
|
1778
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1779
|
+
Redirected to http://www.example.com/
|
1780
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.4ms)
|
1781
|
+
Started GET "/" for 127.0.0.1 at 2022-05-19 09:13:06 -0400
|
1782
|
+
Processing by HomeController#index as HTML
|
1783
|
+
Rendered home/index.html.erb within layouts/application (0.5ms)
|
1784
|
+
Completed 200 OK in 5ms (Views: 5.2ms | ActiveRecord: 0.0ms)
|
1785
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1786
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1787
|
+
--------------------------------------------------------------------------------------------------------------------
|
1788
|
+
FeedbackSubmissionTest::submitting feedback with the honeypot field filled in: test_0002_thanks message is displayed
|
1789
|
+
--------------------------------------------------------------------------------------------------------------------
|
1790
|
+
Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-19 09:13:06 -0400
|
1791
|
+
Processing by PointlessFeedback::MessagesController#new as HTML
|
1792
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.4ms)
|
1793
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
1794
|
+
Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2022-05-19 09:13:06 -0400
|
1795
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
1796
|
+
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"}
|
1797
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1798
|
+
[1m[35mSQL (0.5ms)[0m 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-19 13:13:06.415080"], ["updated_at", "2022-05-19 13:13:06.415080"]]
|
1799
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1800
|
+
Redirected to http://www.example.com/
|
1801
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.6ms)
|
1802
|
+
Started GET "/" for 127.0.0.1 at 2022-05-19 09:13:06 -0400
|
1803
|
+
Processing by HomeController#index as HTML
|
1804
|
+
Rendered home/index.html.erb within layouts/application (0.2ms)
|
1805
|
+
Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
1806
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1807
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1808
|
+
---------------------------------------------------------------------------
|
1809
|
+
PointlessFeedback::MessagesControllerTest::getting new: test_0001_anonymous
|
1810
|
+
---------------------------------------------------------------------------
|
1811
|
+
Processing by PointlessFeedback::MessagesController#new as HTML
|
1812
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.2ms)
|
1813
|
+
Completed 200 OK in 2ms (Views: 2.1ms | ActiveRecord: 0.0ms)
|
1814
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1815
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1816
|
+
---------------------------------------------------------------------------
|
1817
|
+
PointlessFeedback::MessagesControllerTest::getting new: test_0002_anonymous
|
1818
|
+
---------------------------------------------------------------------------
|
1819
|
+
Processing by PointlessFeedback::MessagesController#new as HTML
|
1820
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.5ms)
|
1821
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
1822
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1823
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1824
|
+
---------------------------------------------------------------------------
|
1825
|
+
PointlessFeedback::MessagesControllerTest::getting new: test_0003_anonymous
|
1826
|
+
---------------------------------------------------------------------------
|
1827
|
+
Processing by PointlessFeedback::MessagesController#new as HTML
|
1828
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.2ms)
|
1829
|
+
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
|
1830
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1831
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1832
|
+
-----------------------------------------------------------------------------------------------------------------
|
1833
|
+
PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0001_outputs named path from the main app
|
1834
|
+
-----------------------------------------------------------------------------------------------------------------
|
1835
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1836
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1837
|
+
----------------------------------------------------------------------------------------------------------------
|
1838
|
+
PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0002_outputs named url from the main app
|
1839
|
+
----------------------------------------------------------------------------------------------------------------
|
1840
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1841
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1842
|
+
---------------------------------------------------------------------------------------------------------------
|
1843
|
+
PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0003_raises exception with other routes
|
1844
|
+
---------------------------------------------------------------------------------------------------------------
|
1845
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1846
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1847
|
+
----------------------------------------------------------------------------------------------------
|
1848
|
+
PointlessFeedback::MessageTest::validating against spam: test_0001_allows descriptions with no links
|
1849
|
+
----------------------------------------------------------------------------------------------------
|
1850
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1851
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1852
|
+
-------------------------------------------------------------------------------------------------------------------
|
1853
|
+
PointlessFeedback::MessageTest::validating against spam: test_0002_does not allow descriptions with 3 or more links
|
1854
|
+
-------------------------------------------------------------------------------------------------------------------
|
1855
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1856
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1857
|
+
-----------------------------------------------------------------------------------------------------------------------------------------------
|
1858
|
+
PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with overridden after_message_create_path: test_0001_anonymous
|
1859
|
+
-----------------------------------------------------------------------------------------------------------------------------------------------
|
1860
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
1861
|
+
Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
|
1862
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1863
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-19 13:13:06.439940"], ["updated_at", "2022-05-19 13:13:06.439940"]]
|
1864
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.5ms)
|
1865
|
+
|
1866
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 169.8ms
|
1867
|
+
|
1868
|
+
Sent mail to test1@example.com, test2@example.com (4.8ms)
|
1869
|
+
Date: Thu, 19 May 2022 09:13:06 -0400
|
1870
|
+
From: feedback@pointlesscorp.com
|
1871
|
+
To: test1@example.com,
|
1872
|
+
test2@example.com
|
1873
|
+
Message-ID: <6286426296422_b793fe976c3793c93624@Noahs-MBP.localdomain.mail>
|
1874
|
+
Subject: Feedback
|
1875
|
+
Mime-Version: 1.0
|
1876
|
+
Content-Type: text/html;
|
1877
|
+
charset=UTF-8
|
1878
|
+
Content-Transfer-Encoding: 7bit
|
1879
|
+
|
1880
|
+
You've got feedback!
|
1881
|
+
|
1882
|
+
<p>Name: Some Guy</p>
|
1883
|
+
<p>Email Address: some_guy@web.com</p>
|
1884
|
+
<p>Topic: Other</p>
|
1885
|
+
<p>Description: Yo website bork</p>
|
1886
|
+
|
1887
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1888
|
+
Redirected to http://test.host/dashboard
|
1889
|
+
Completed 302 Found in 179ms (ActiveRecord: 0.4ms)
|
1890
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
1891
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1892
|
+
-----------------------------------------------------------------------------------------------------------------------------------------------
|
1893
|
+
PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with overridden after_message_create_path: test_0002_anonymous
|
1894
|
+
-----------------------------------------------------------------------------------------------------------------------------------------------
|
1895
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
1896
|
+
Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
|
1897
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1898
|
+
[1m[35mSQL (0.3ms)[0m 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-19 13:13:06.620892"], ["updated_at", "2022-05-19 13:13:06.620892"]]
|
1899
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
|
1900
|
+
|
1901
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.0ms
|
1902
|
+
|
1903
|
+
Sent mail to test1@example.com, test2@example.com (1.1ms)
|
1904
|
+
Date: Thu, 19 May 2022 09:13:06 -0400
|
1905
|
+
From: feedback@pointlesscorp.com
|
1906
|
+
To: test1@example.com,
|
1907
|
+
test2@example.com
|
1908
|
+
Message-ID: <628642629842f_b793fe976c3793c937b9@Noahs-MBP.localdomain.mail>
|
1909
|
+
Subject: Feedback
|
1910
|
+
Mime-Version: 1.0
|
1911
|
+
Content-Type: text/html;
|
1912
|
+
charset=UTF-8
|
1913
|
+
Content-Transfer-Encoding: 7bit
|
1914
|
+
|
1915
|
+
You've got feedback!
|
1916
|
+
|
1917
|
+
<p>Name: Some Guy</p>
|
1918
|
+
<p>Email Address: some_guy@web.com</p>
|
1919
|
+
<p>Topic: Other</p>
|
1920
|
+
<p>Description: Yo website bork</p>
|
1921
|
+
|
1922
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1923
|
+
Redirected to http://test.host/dashboard
|
1924
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
1925
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1926
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1927
|
+
-----------------------------------------------------------------------------------------------------------------------------------------------
|
1928
|
+
PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with overridden after_message_create_path: test_0003_anonymous
|
1929
|
+
-----------------------------------------------------------------------------------------------------------------------------------------------
|
1930
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
1931
|
+
Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
|
1932
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1933
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-19 13:13:06.627253"], ["updated_at", "2022-05-19 13:13:06.627253"]]
|
1934
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
|
1935
|
+
|
1936
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.7ms
|
1937
|
+
|
1938
|
+
Sent mail to test1@example.com, test2@example.com (1.5ms)
|
1939
|
+
Date: Thu, 19 May 2022 09:13:06 -0400
|
1940
|
+
From: feedback@pointlesscorp.com
|
1941
|
+
To: test1@example.com,
|
1942
|
+
test2@example.com
|
1943
|
+
Message-ID: <6286426299b7c_b793fe976c3793c93813@Noahs-MBP.localdomain.mail>
|
1944
|
+
Subject: Feedback
|
1945
|
+
Mime-Version: 1.0
|
1946
|
+
Content-Type: text/html;
|
1947
|
+
charset=UTF-8
|
1948
|
+
Content-Transfer-Encoding: 7bit
|
1949
|
+
|
1950
|
+
You've got feedback!
|
1951
|
+
|
1952
|
+
<p>Name: Some Guy</p>
|
1953
|
+
<p>Email Address: some_guy@web.com</p>
|
1954
|
+
<p>Topic: Other</p>
|
1955
|
+
<p>Description: Yo website bork</p>
|
1956
|
+
|
1957
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1958
|
+
Redirected to http://test.host/dashboard
|
1959
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
|
1960
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1961
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1962
|
+
----------------------------------------------------------------------------------------------------------------------
|
1963
|
+
FeedbackSubmissionTest::submitting feedback with the invalid word in description: test_0001_redirects to the root path
|
1964
|
+
----------------------------------------------------------------------------------------------------------------------
|
1965
|
+
Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-19 09:13:06 -0400
|
1966
|
+
Processing by PointlessFeedback::MessagesController#new as HTML
|
1967
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (2.5ms)
|
1968
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
1969
|
+
Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2022-05-19 09:13:06 -0400
|
1970
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
1971
|
+
Parameters: {"utf8"=>"✓", "message"=>{"name"=>"Eli", "email_address"=>"eli@example.com", "topic"=>"Other", "description"=>"I got nymphomania.", "contact_info"=>""}, "commit"=>"Submit"}
|
1972
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1973
|
+
[1m[35mSQL (0.4ms)[0m 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-19 13:13:06.650655"], ["updated_at", "2022-05-19 13:13:06.650655"]]
|
1974
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1975
|
+
Redirected to http://www.example.com/
|
1976
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
1977
|
+
Started GET "/" for 127.0.0.1 at 2022-05-19 09:13:06 -0400
|
1978
|
+
Processing by HomeController#index as HTML
|
1979
|
+
Rendered home/index.html.erb within layouts/application (0.4ms)
|
1980
|
+
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
1981
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
1982
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1983
|
+
-----------------------------------------------------------------------------------------------------------------------
|
1984
|
+
FeedbackSubmissionTest::submitting feedback with the invalid word in description: test_0002_thanks message is displayed
|
1985
|
+
-----------------------------------------------------------------------------------------------------------------------
|
1986
|
+
Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-19 09:13:06 -0400
|
1987
|
+
Processing by PointlessFeedback::MessagesController#new as HTML
|
1988
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (3.0ms)
|
1989
|
+
Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
1990
|
+
Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2022-05-19 09:13:06 -0400
|
1991
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
1992
|
+
Parameters: {"utf8"=>"✓", "message"=>{"name"=>"Eli", "email_address"=>"eli@example.com", "topic"=>"Other", "description"=>"I got nymphomania.", "contact_info"=>""}, "commit"=>"Submit"}
|
1993
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1994
|
+
[1m[36mSQL (3.1ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["description", "I got nymphomania."], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2022-05-19 13:13:06.682644"], ["updated_at", "2022-05-19 13:13:06.682644"]]
|
1995
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1996
|
+
Redirected to http://www.example.com/
|
1997
|
+
Completed 302 Found in 11ms (ActiveRecord: 3.2ms)
|
1998
|
+
Started GET "/" for 127.0.0.1 at 2022-05-19 09:13:06 -0400
|
1999
|
+
Processing by HomeController#index as HTML
|
2000
|
+
Rendered home/index.html.erb within layouts/application (0.4ms)
|
2001
|
+
Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
2002
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2003
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2004
|
+
-----------------------------------------------------------------------------------------
|
2005
|
+
PointlessFeedback::CaptchaTest::.pass?: test_0001_returns true if Google response is true
|
2006
|
+
-----------------------------------------------------------------------------------------
|
2007
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2008
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2009
|
+
------------------------------------------------------------------------------------------
|
2010
|
+
PointlessFeedback::CaptchaTest::.pass?: test_0002_returns false if Google response is true
|
2011
|
+
------------------------------------------------------------------------------------------
|
2012
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2013
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2014
|
+
----------------------------------------------------------------------------------------
|
2015
|
+
PointlessFeedback::MessageTest::validating email: test_0001_allows a valid email address
|
2016
|
+
----------------------------------------------------------------------------------------
|
2017
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2018
|
+
[1m[35m (0.2ms)[0m begin transaction
|
2019
|
+
-------------------------------------------------------------------------------------------------
|
2020
|
+
PointlessFeedback::MessageTest::validating email: test_0002_does not allow invalid emails address
|
2021
|
+
-------------------------------------------------------------------------------------------------
|
2022
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2023
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2024
|
+
---------------------------------------------------------------------------------
|
2025
|
+
FeedbackSubmissionTest::submitting feedback: test_0001_redirects to the root path
|
2026
|
+
---------------------------------------------------------------------------------
|
2027
|
+
Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-19 09:13:06 -0400
|
2028
|
+
Processing by PointlessFeedback::MessagesController#new as HTML
|
2029
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (2.3ms)
|
2030
|
+
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
|
2031
|
+
Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2022-05-19 09:13:06 -0400
|
2032
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
2033
|
+
Parameters: {"utf8"=>"✓", "message"=>{"name"=>"Eli", "email_address"=>"eli@example.com", "topic"=>"Other", "description"=>"This site is awful", "contact_info"=>""}, "commit"=>"Submit"}
|
2034
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2035
|
+
[1m[35mSQL (0.5ms)[0m 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-19 13:13:06.735241"], ["updated_at", "2022-05-19 13:13:06.735241"]]
|
2036
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
|
2037
|
+
|
2038
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.4ms
|
2039
|
+
|
2040
|
+
Sent mail to test1@example.com, test2@example.com (2.1ms)
|
2041
|
+
Date: Thu, 19 May 2022 09:13:06 -0400
|
2042
|
+
From: feedback@pointlesscorp.com
|
2043
|
+
To: test1@example.com,
|
2044
|
+
test2@example.com
|
2045
|
+
Message-ID: <62864262b4884_b793fe976c3793c939ce@Noahs-MBP.localdomain.mail>
|
2046
|
+
Subject: Feedback
|
2047
|
+
Mime-Version: 1.0
|
2048
|
+
Content-Type: text/html;
|
2049
|
+
charset=UTF-8
|
2050
|
+
Content-Transfer-Encoding: 7bit
|
2051
|
+
|
2052
|
+
You've got feedback!
|
2053
|
+
|
2054
|
+
<p>Name: Eli</p>
|
2055
|
+
<p>Email Address: eli@example.com</p>
|
2056
|
+
<p>Topic: Other</p>
|
2057
|
+
<p>Description: This site is awful</p>
|
2058
|
+
|
2059
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2060
|
+
Redirected to http://www.example.com/
|
2061
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
|
2062
|
+
Started GET "/" for 127.0.0.1 at 2022-05-19 09:13:06 -0400
|
2063
|
+
Processing by HomeController#index as HTML
|
2064
|
+
Rendered home/index.html.erb within layouts/application (0.5ms)
|
2065
|
+
Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
|
2066
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2067
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2068
|
+
----------------------------------------------------------------------------------
|
2069
|
+
FeedbackSubmissionTest::submitting feedback: test_0002_thanks message is displayed
|
2070
|
+
----------------------------------------------------------------------------------
|
2071
|
+
Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-19 09:13:06 -0400
|
2072
|
+
Processing by PointlessFeedback::MessagesController#new as HTML
|
2073
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (2.3ms)
|
2074
|
+
Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
|
2075
|
+
Started POST "/pointless_feedback/messages" for 127.0.0.1 at 2022-05-19 09:13:06 -0400
|
2076
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
2077
|
+
Parameters: {"utf8"=>"✓", "message"=>{"name"=>"Eli", "email_address"=>"eli@example.com", "topic"=>"Other", "description"=>"This site is awful", "contact_info"=>""}, "commit"=>"Submit"}
|
2078
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2079
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["description", "This site is awful"], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2022-05-19 13:13:06.761291"], ["updated_at", "2022-05-19 13:13:06.761291"]]
|
2080
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
|
2081
|
+
|
2082
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.8ms
|
2083
|
+
|
2084
|
+
Sent mail to test1@example.com, test2@example.com (1.0ms)
|
2085
|
+
Date: Thu, 19 May 2022 09:13:06 -0400
|
2086
|
+
From: feedback@pointlesscorp.com
|
2087
|
+
To: test1@example.com,
|
2088
|
+
test2@example.com
|
2089
|
+
Message-ID: <62864262ba70c_b793fe976c3793c94028@Noahs-MBP.localdomain.mail>
|
2090
|
+
Subject: Feedback
|
2091
|
+
Mime-Version: 1.0
|
2092
|
+
Content-Type: text/html;
|
2093
|
+
charset=UTF-8
|
2094
|
+
Content-Transfer-Encoding: 7bit
|
2095
|
+
|
2096
|
+
You've got feedback!
|
2097
|
+
|
2098
|
+
<p>Name: Eli</p>
|
2099
|
+
<p>Email Address: eli@example.com</p>
|
2100
|
+
<p>Topic: Other</p>
|
2101
|
+
<p>Description: This site is awful</p>
|
2102
|
+
|
2103
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2104
|
+
Redirected to http://www.example.com/
|
2105
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
2106
|
+
Started GET "/" for 127.0.0.1 at 2022-05-19 09:13:06 -0400
|
2107
|
+
Processing by HomeController#index as HTML
|
2108
|
+
Rendered home/index.html.erb within layouts/application (0.2ms)
|
2109
|
+
Completed 200 OK in 1ms (Views: 0.9ms | ActiveRecord: 0.0ms)
|
2110
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2111
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2112
|
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
2113
|
+
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
|
2114
|
+
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
2115
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2116
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["url", "https://www.viget.com/"], ["created_at", "2022-05-19 13:13:06.770703"], ["updated_at", "2022-05-19 13:13:06.770703"]]
|
2117
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2118
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2119
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2120
|
+
-----------------------------------------------------------------------
|
2121
|
+
MainAppRootUrlTest: test_0001_root_url link points to main_app.root_url
|
2122
|
+
-----------------------------------------------------------------------
|
2123
|
+
Started GET "/pointless_feedback" for 127.0.0.1 at 2022-05-19 09:13:06 -0400
|
2124
|
+
Processing by PointlessFeedback::MessagesController#new as HTML
|
2125
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.5ms)
|
2126
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
2127
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2128
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2129
|
+
--------------------------------------
|
2130
|
+
PointlessFeedbackTest: test_0001_truth
|
2131
|
+
--------------------------------------
|
2132
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2133
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2134
|
+
---------------------------------------------------------------------
|
2135
|
+
InstallGeneratorTest: test_0001_Assert all files are properly created
|
2136
|
+
---------------------------------------------------------------------
|
2137
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2138
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2139
|
+
-------------------------------------------------------
|
2140
|
+
PointlessFeedback::MessageTest: test_0001_requires name
|
2141
|
+
-------------------------------------------------------
|
2142
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2143
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2144
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2145
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2146
|
+
----------------------------------------------------------------
|
2147
|
+
PointlessFeedback::MessageTest: test_0002_requires email_address
|
2148
|
+
----------------------------------------------------------------
|
2149
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2150
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2151
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2152
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2153
|
+
--------------------------------------------------------
|
2154
|
+
PointlessFeedback::MessageTest: test_0003_requires topic
|
2155
|
+
--------------------------------------------------------
|
2156
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2157
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2158
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2159
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2160
|
+
--------------------------------------------------------------
|
2161
|
+
PointlessFeedback::MessageTest: test_0004_requires description
|
2162
|
+
--------------------------------------------------------------
|
2163
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2164
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2165
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2166
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2167
|
+
---------------------------------------------------------------
|
2168
|
+
PointlessFeedback::FeedbackMailerTest: test_0001_feedback email
|
2169
|
+
---------------------------------------------------------------
|
2170
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2171
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["url", "https://www.viget.com/"], ["created_at", "2022-05-19 13:13:06.798907"], ["updated_at", "2022-05-19 13:13:06.798907"]]
|
2172
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
|
2173
|
+
|
2174
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.7ms
|
2175
|
+
|
2176
|
+
Sent mail to to@example.com (1.0ms)
|
2177
|
+
Date: Thu, 19 May 2022 09:13:06 -0400
|
2178
|
+
From: feedback@pointlesscorp.com
|
2179
|
+
To: to@example.com
|
2180
|
+
Message-ID: <62864262c3918_b793fe976c3793c94126@Noahs-MBP.localdomain.mail>
|
2181
|
+
Subject: Feedback
|
2182
|
+
Mime-Version: 1.0
|
2183
|
+
Content-Type: text/html;
|
2184
|
+
charset=UTF-8
|
2185
|
+
Content-Transfer-Encoding: 7bit
|
2186
|
+
|
2187
|
+
You've got feedback!
|
2188
|
+
|
2189
|
+
<p>Name: A Developer</p>
|
2190
|
+
<p>Email Address: developer@pointlesscorp.com</p>
|
2191
|
+
<p>Topic: Other</p>
|
2192
|
+
<p>Description: Site is broke</p>
|
2193
|
+
|
2194
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2195
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
|
2196
|
+
|
2197
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.5ms
|
2198
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2199
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2200
|
+
--------------------------------------------------------------------
|
2201
|
+
PointlessFeedback::FeedbackMailerTest: test_0002_feedback email body
|
2202
|
+
--------------------------------------------------------------------
|
2203
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2204
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["url", "https://www.viget.com/"], ["created_at", "2022-05-19 13:13:06.804478"], ["updated_at", "2022-05-19 13:13:06.804478"]]
|
2205
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
|
2206
|
+
|
2207
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.9ms
|
2208
|
+
|
2209
|
+
Sent mail to to@example.com (1.3ms)
|
2210
|
+
Date: Thu, 19 May 2022 09:13:06 -0400
|
2211
|
+
From: feedback@pointlesscorp.com
|
2212
|
+
To: to@example.com
|
2213
|
+
Message-ID: <62864262c50ee_b793fe976c3793c9421c@Noahs-MBP.localdomain.mail>
|
2214
|
+
Subject: Feedback
|
2215
|
+
Mime-Version: 1.0
|
2216
|
+
Content-Type: text/html;
|
2217
|
+
charset=UTF-8
|
2218
|
+
Content-Transfer-Encoding: 7bit
|
2219
|
+
|
2220
|
+
You've got feedback!
|
2221
|
+
|
2222
|
+
<p>Name: A Developer</p>
|
2223
|
+
<p>Email Address: developer@pointlesscorp.com</p>
|
2224
|
+
<p>Topic: Other</p>
|
2225
|
+
<p>Description: Site is broke</p>
|
2226
|
+
|
2227
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2228
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
|
2229
|
+
|
2230
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.6ms
|
2231
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2232
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2233
|
+
-----------------------------------------------------------------------------------
|
2234
|
+
PointlessFeedback::FeedbackMailerTest: test_0003_feedback email body with URL field
|
2235
|
+
-----------------------------------------------------------------------------------
|
2236
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2237
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["url", "https://www.viget.com/"], ["created_at", "2022-05-19 13:13:06.810893"], ["updated_at", "2022-05-19 13:13:06.810893"]]
|
2238
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
|
2239
|
+
|
2240
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.7ms
|
2241
|
+
|
2242
|
+
Sent mail to to@example.com (1.0ms)
|
2243
|
+
Date: Thu, 19 May 2022 09:13:06 -0400
|
2244
|
+
From: feedback@pointlesscorp.com
|
2245
|
+
To: to@example.com
|
2246
|
+
Message-ID: <62864262c6882_b793fe976c3793c943e9@Noahs-MBP.localdomain.mail>
|
2247
|
+
Subject: Feedback
|
2248
|
+
Mime-Version: 1.0
|
2249
|
+
Content-Type: text/html;
|
2250
|
+
charset=UTF-8
|
2251
|
+
Content-Transfer-Encoding: 7bit
|
2252
|
+
|
2253
|
+
You've got feedback!
|
2254
|
+
|
2255
|
+
<p>Name: A Developer</p>
|
2256
|
+
<p>Email Address: developer@pointlesscorp.com</p>
|
2257
|
+
<p>Topic: Other</p>
|
2258
|
+
<p>Description: Site is broke</p>
|
2259
|
+
|
2260
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2261
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
|
2262
|
+
|
2263
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.6ms
|
2264
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
2265
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2266
|
+
-----------------------------------------------------------------------------
|
2267
|
+
PointlessFeedback::FeedbackMailerTest: test_0004_feedback from email when set
|
2268
|
+
-----------------------------------------------------------------------------
|
2269
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2270
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["url", "https://www.viget.com/"], ["created_at", "2022-05-19 13:13:06.816283"], ["updated_at", "2022-05-19 13:13:06.816283"]]
|
2271
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
|
2272
|
+
|
2273
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.6ms
|
2274
|
+
|
2275
|
+
Sent mail to to@example.com (1.0ms)
|
2276
|
+
Date: Thu, 19 May 2022 09:13:06 -0400
|
2277
|
+
From: feedback@pointlesscorp.com
|
2278
|
+
To: to@example.com
|
2279
|
+
Message-ID: <62864262c7c2d_b793fe976c3793c944e5@Noahs-MBP.localdomain.mail>
|
2280
|
+
Subject: Feedback
|
2281
|
+
Mime-Version: 1.0
|
2282
|
+
Content-Type: text/html;
|
2283
|
+
charset=UTF-8
|
2284
|
+
Content-Transfer-Encoding: 7bit
|
2285
|
+
|
2286
|
+
You've got feedback!
|
2287
|
+
|
2288
|
+
<p>Name: A Developer</p>
|
2289
|
+
<p>Email Address: developer@pointlesscorp.com</p>
|
2290
|
+
<p>Topic: Other</p>
|
2291
|
+
<p>Story URL: https://www.viget.com/</p>
|
2292
|
+
<p>Description: Site is broke</p>
|
2293
|
+
|
2294
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2295
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
|
2296
|
+
|
2297
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.5ms
|
2298
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2299
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2300
|
+
-------------------------------------------------------------------------------------------
|
2301
|
+
PointlessFeedback::FeedbackMailerTest: test_0005_feedback from email when set as the sender
|
2302
|
+
-------------------------------------------------------------------------------------------
|
2303
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2304
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["url", "https://www.viget.com/"], ["created_at", "2022-05-19 13:13:06.821409"], ["updated_at", "2022-05-19 13:13:06.821409"]]
|
2305
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
|
2306
|
+
|
2307
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 1.0ms
|
2308
|
+
|
2309
|
+
Sent mail to to@example.com (1.1ms)
|
2310
|
+
Date: Thu, 19 May 2022 09:13:06 -0400
|
2311
|
+
From: from@example.com
|
2312
|
+
To: to@example.com
|
2313
|
+
Message-ID: <62864262c9573_b793fe976c3793c945b0@Noahs-MBP.localdomain.mail>
|
2314
|
+
Subject: Feedback
|
2315
|
+
Mime-Version: 1.0
|
2316
|
+
Content-Type: text/html;
|
2317
|
+
charset=UTF-8
|
2318
|
+
Content-Transfer-Encoding: 7bit
|
2319
|
+
|
2320
|
+
You've got feedback!
|
2321
|
+
|
2322
|
+
<p>Name: A Developer</p>
|
2323
|
+
<p>Email Address: developer@pointlesscorp.com</p>
|
2324
|
+
<p>Topic: Other</p>
|
2325
|
+
<p>Story URL: https://www.viget.com/</p>
|
2326
|
+
<p>Description: Site is broke</p>
|
2327
|
+
|
2328
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2329
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.0ms)
|
2330
|
+
|
2331
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.6ms
|
2332
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
2333
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2334
|
+
--------------------------------------------------------------------------------------------------------------------------------------------
|
2335
|
+
PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with default after_message_create_path: test_0001_anonymous
|
2336
|
+
--------------------------------------------------------------------------------------------------------------------------------------------
|
2337
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
2338
|
+
Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
|
2339
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2340
|
+
[1m[35mSQL (0.3ms)[0m 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-19 13:13:06.829645"], ["updated_at", "2022-05-19 13:13:06.829645"]]
|
2341
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
|
2342
|
+
|
2343
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.7ms
|
2344
|
+
|
2345
|
+
Sent mail to to@example.com (1.0ms)
|
2346
|
+
Date: Thu, 19 May 2022 09:13:06 -0400
|
2347
|
+
From: some_guy@web.com
|
2348
|
+
To: to@example.com
|
2349
|
+
Message-ID: <62864262cb13c_b793fe976c3793c946fa@Noahs-MBP.localdomain.mail>
|
2350
|
+
Subject: Feedback
|
2351
|
+
Mime-Version: 1.0
|
2352
|
+
Content-Type: text/html;
|
2353
|
+
charset=UTF-8
|
2354
|
+
Content-Transfer-Encoding: 7bit
|
2355
|
+
|
2356
|
+
You've got feedback!
|
2357
|
+
|
2358
|
+
<p>Name: Some Guy</p>
|
2359
|
+
<p>Email Address: some_guy@web.com</p>
|
2360
|
+
<p>Topic: Other</p>
|
2361
|
+
<p>Story URL: </p>
|
2362
|
+
<p>Description: Yo website bork</p>
|
2363
|
+
|
2364
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2365
|
+
Redirected to http://test.host/
|
2366
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
2367
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
2368
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2369
|
+
--------------------------------------------------------------------------------------------------------------------------------------------
|
2370
|
+
PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with default after_message_create_path: test_0002_anonymous
|
2371
|
+
--------------------------------------------------------------------------------------------------------------------------------------------
|
2372
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
2373
|
+
Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
|
2374
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2375
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-19 13:13:06.834991"], ["updated_at", "2022-05-19 13:13:06.834991"]]
|
2376
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
|
2377
|
+
|
2378
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.7ms
|
2379
|
+
|
2380
|
+
Sent mail to to@example.com (1.4ms)
|
2381
|
+
Date: Thu, 19 May 2022 09:13:06 -0400
|
2382
|
+
From: some_guy@web.com
|
2383
|
+
To: to@example.com
|
2384
|
+
Message-ID: <62864262cc5db_b793fe976c3793c947e3@Noahs-MBP.localdomain.mail>
|
2385
|
+
Subject: Feedback
|
2386
|
+
Mime-Version: 1.0
|
2387
|
+
Content-Type: text/html;
|
2388
|
+
charset=UTF-8
|
2389
|
+
Content-Transfer-Encoding: 7bit
|
2390
|
+
|
2391
|
+
You've got feedback!
|
2392
|
+
|
2393
|
+
<p>Name: Some Guy</p>
|
2394
|
+
<p>Email Address: some_guy@web.com</p>
|
2395
|
+
<p>Topic: Other</p>
|
2396
|
+
<p>Story URL: </p>
|
2397
|
+
<p>Description: Yo website bork</p>
|
2398
|
+
|
2399
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2400
|
+
Redirected to http://test.host/
|
2401
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
2402
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2403
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2404
|
+
--------------------------------------------------------------------------------------------------------------------------------------------
|
2405
|
+
PointlessFeedback::MessagesControllerTest::posting to create::with valid params::with default after_message_create_path: test_0003_anonymous
|
2406
|
+
--------------------------------------------------------------------------------------------------------------------------------------------
|
2407
|
+
Processing by PointlessFeedback::MessagesController#create as HTML
|
2408
|
+
Parameters: {"message"=>{"name"=>"Some Guy", "email_address"=>"some_guy@web.com", "topic"=>"Other", "description"=>"Yo website bork"}}
|
2409
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2410
|
+
[1m[35mSQL (0.3ms)[0m 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-19 13:13:06.841748"], ["updated_at", "2022-05-19 13:13:06.841748"]]
|
2411
|
+
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/feedback_mailer/feedback.html.erb (0.1ms)
|
2412
|
+
|
2413
|
+
PointlessFeedback::FeedbackMailer#feedback: processed outbound mail in 0.7ms
|
2414
|
+
|
2415
|
+
Sent mail to to@example.com (1.0ms)
|
2416
|
+
Date: Thu, 19 May 2022 09:13:06 -0400
|
2417
|
+
From: some_guy@web.com
|
2418
|
+
To: to@example.com
|
2419
|
+
Message-ID: <62864262ce043_b793fe976c3793c948b4@Noahs-MBP.localdomain.mail>
|
2420
|
+
Subject: Feedback
|
2421
|
+
Mime-Version: 1.0
|
2422
|
+
Content-Type: text/html;
|
2423
|
+
charset=UTF-8
|
2424
|
+
Content-Transfer-Encoding: 7bit
|
2425
|
+
|
2426
|
+
You've got feedback!
|
2427
|
+
|
2428
|
+
<p>Name: Some Guy</p>
|
2429
|
+
<p>Email Address: some_guy@web.com</p>
|
2430
|
+
<p>Topic: Other</p>
|
2431
|
+
<p>Story URL: </p>
|
2432
|
+
<p>Description: Yo website bork</p>
|
2433
|
+
|
2434
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2435
|
+
Redirected to http://test.host/
|
2436
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
2437
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2438
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2439
|
+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
2440
|
+
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
|
2441
|
+
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
2442
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2443
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "I have nymphomania."], ["topic", "Other"], ["url", "https://www.viget.com/"], ["created_at", "2022-05-19 13:13:06.847278"], ["updated_at", "2022-05-19 13:13:06.847278"]]
|
2444
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2445
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
2446
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2447
|
+
-------------------------------------------------------------------------------
|
2448
|
+
PointlessFeedback::MessageTest::validating topics: test_0001_allows valid topic
|
2449
|
+
-------------------------------------------------------------------------------
|
2450
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2451
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2452
|
+
-----------------------------------------------------------------------------------------
|
2453
|
+
PointlessFeedback::MessageTest::validating topics: test_0002_does not allow invalid topic
|
2454
|
+
-----------------------------------------------------------------------------------------
|
2455
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2456
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2457
|
+
---------------------------------------------------------------------------------------------------------------------------------
|
2458
|
+
PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is false: test_0001_does not send any mail
|
2459
|
+
---------------------------------------------------------------------------------------------------------------------------------
|
2460
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2461
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "pointless_feedback_messages" ("name", "email_address", "description", "topic", "url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["name", "A Developer"], ["email_address", "developer@pointlesscorp.com"], ["description", "Site is broke"], ["topic", "Other"], ["url", "https://www.viget.com/"], ["created_at", "2022-05-19 13:13:06.853040"], ["updated_at", "2022-05-19 13:13:06.853040"]]
|
2462
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2463
|
+
[1m[35m (0.3ms)[0m rollback transaction
|