pointless_feedback 4.1.4 → 4.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -0
- data/app/controllers/pointless_feedback/messages_controller.rb +2 -1
- data/app/models/pointless_feedback/message.rb +2 -1
- 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 +6 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +2 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +18 -0
- data/test/dummy/log/test.log +1195 -0
- data/test/factories/messages.rb +1 -0
- data/test/functional/pointless_feedback/feedback_mailer_test.rb +12 -0
- metadata +3 -2
data/test/dummy/log/test.log
CHANGED
@@ -1266,3 +1266,1198 @@ Processing by PointlessFeedback::MessagesController#new as HTML
|
|
1266
1266
|
Rendered /Users/noahover/projects/pointless-feedback/app/views/pointless_feedback/messages/new.html.erb within layouts/application (1.9ms)
|
1267
1267
|
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
1268
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
|