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.
@@ -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
   (0.1ms) rollback transaction
1269
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1270
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1271
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1272
+  (0.1ms) begin transaction
1273
+ --------------------------------------
1274
+ PointlessFeedbackTest: test_0001_truth
1275
+ --------------------------------------
1276
+  (0.0ms) rollback transaction
1277
+  (0.0ms) begin transaction
1278
+ -----------------------------------------------------------------------------------------------------------------
1279
+ PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0001_outputs named path from the main app
1280
+ -----------------------------------------------------------------------------------------------------------------
1281
+  (0.0ms) rollback transaction
1282
+  (0.0ms) begin transaction
1283
+ ----------------------------------------------------------------------------------------------------------------
1284
+ PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0002_outputs named url from the main app
1285
+ ----------------------------------------------------------------------------------------------------------------
1286
+  (0.0ms) rollback transaction
1287
+  (0.0ms) begin transaction
1288
+ ---------------------------------------------------------------------------------------------------------------
1289
+ PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0003_raises exception with other routes
1290
+ ---------------------------------------------------------------------------------------------------------------
1291
+  (0.0ms) rollback transaction
1292
+  (0.0ms) begin transaction
1293
+ -------------------------------------------------------------------------------
1294
+ PointlessFeedback::MessageTest::validating topics: test_0001_allows valid topic
1295
+ -------------------------------------------------------------------------------
1296
+  (0.1ms) rollback transaction
1297
+  (0.0ms) begin transaction
1298
+ -----------------------------------------------------------------------------------------
1299
+ PointlessFeedback::MessageTest::validating topics: test_0002_does not allow invalid topic
1300
+ -----------------------------------------------------------------------------------------
1301
+  (0.1ms) rollback transaction
1302
+  (0.0ms) 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
+  (0.1ms) rollback transaction
1310
+  (0.0ms) 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
+  (0.0ms) rollback transaction
1318
+  (0.0ms) 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
+  (0.0ms) rollback transaction
1326
+  (0.0ms) 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
+  (0.1ms) SAVEPOINT active_record_1
1331
+ SQL (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1333
+  (0.4ms) rollback transaction
1334
+  (0.0ms) begin transaction
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
+  (0.0ms) SAVEPOINT active_record_1
1341
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
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
+  (0.0ms) rollback transaction
1345
+  (0.0ms) begin transaction
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
+  (0.0ms) SAVEPOINT active_record_1
1352
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
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
+  (0.0ms) rollback transaction
1356
+  (0.0ms) begin transaction
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
+  (0.1ms) SAVEPOINT active_record_1
1363
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
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
+  (0.1ms) rollback transaction
1367
+  (0.0ms) begin transaction
1368
+ ---------------------------------------------------------------------
1369
+ InstallGeneratorTest: test_0001_Assert all files are properly created
1370
+ ---------------------------------------------------------------------
1371
+  (0.1ms) rollback transaction
1372
+  (0.0ms) begin transaction
1373
+ ---------------------------------------------------------------------------------------------------------------------------------
1374
+ PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is true: test_0001_sends mail after create
1375
+ ---------------------------------------------------------------------------------------------------------------------------------
1376
+  (0.0ms) SAVEPOINT active_record_1
1377
+ SQL (0.3ms) 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.956369"], ["updated_at", "2022-05-19 13:12:16.956369"]]
1378
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1379
+  (0.4ms) rollback transaction
1380
+  (0.1ms) 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
+  (0.1ms) rollback transaction
1389
+  (0.0ms) 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
+  (0.0ms) SAVEPOINT active_record_1
1396
+ SQL (0.5ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1421
+ Redirected to http://test.host/
1422
+ Completed 302 Found in 154ms (ActiveRecord: 0.6ms)
1423
+  (0.3ms) rollback transaction
1424
+  (0.0ms) begin transaction
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
+  (0.0ms) SAVEPOINT active_record_1
1431
+ SQL (0.3ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1456
+ Redirected to http://test.host/
1457
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1458
+  (0.4ms) rollback transaction
1459
+  (0.0ms) 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
+  (0.0ms) SAVEPOINT active_record_1
1466
+ SQL (0.3ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1491
+ Redirected to http://test.host/
1492
+ Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
1493
+  (0.4ms) rollback transaction
1494
+  (0.0ms) begin transaction
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
+  (0.0ms) SAVEPOINT active_record_1
1499
+ SQL (0.3ms) 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", "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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1501
+  (0.3ms) rollback transaction
1502
+  (0.0ms) begin transaction
1503
+ ---------------------------------------------------------------------------------------------------------------------------------
1504
+ PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is false: test_0001_does not send any mail
1505
+ ---------------------------------------------------------------------------------------------------------------------------------
1506
+  (0.0ms) SAVEPOINT active_record_1
1507
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1509
+  (0.3ms) rollback transaction
1510
+  (0.0ms) begin transaction
1511
+ -------------------------------------------------------
1512
+ PointlessFeedback::MessageTest: test_0001_requires name
1513
+ -------------------------------------------------------
1514
+  (0.0ms) SAVEPOINT active_record_1
1515
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1516
+  (0.0ms) rollback transaction
1517
+  (0.0ms) begin transaction
1518
+ ----------------------------------------------------------------
1519
+ PointlessFeedback::MessageTest: test_0002_requires email_address
1520
+ ----------------------------------------------------------------
1521
+  (0.0ms) SAVEPOINT active_record_1
1522
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1523
+  (0.0ms) rollback transaction
1524
+  (0.1ms) begin transaction
1525
+ --------------------------------------------------------
1526
+ PointlessFeedback::MessageTest: test_0003_requires topic
1527
+ --------------------------------------------------------
1528
+  (0.0ms) SAVEPOINT active_record_1
1529
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1530
+  (0.0ms) rollback transaction
1531
+  (0.0ms) begin transaction
1532
+ --------------------------------------------------------------
1533
+ PointlessFeedback::MessageTest: test_0004_requires description
1534
+ --------------------------------------------------------------
1535
+  (0.0ms) SAVEPOINT active_record_1
1536
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1537
+  (0.0ms) rollback transaction
1538
+  (0.0ms) begin transaction
1539
+ ---------------------------------------------------------------
1540
+ PointlessFeedback::FeedbackMailerTest: test_0001_feedback email
1541
+ ---------------------------------------------------------------
1542
+  (0.0ms) SAVEPOINT active_record_1
1543
+ SQL (0.4ms) 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.152571"], ["updated_at", "2022-05-19 13:12:17.152571"]]
1544
+  (0.0ms) 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
+  (0.4ms) rollback transaction
1549
+  (0.0ms) begin transaction
1550
+ --------------------------------------------------------------------
1551
+ PointlessFeedback::FeedbackMailerTest: test_0002_feedback email body
1552
+ --------------------------------------------------------------------
1553
+  (0.0ms) SAVEPOINT active_record_1
1554
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.4ms) rollback transaction
1560
+  (0.0ms) begin transaction
1561
+ -----------------------------------------------------------------------------------
1562
+ PointlessFeedback::FeedbackMailerTest: test_0003_feedback email body with URL field
1563
+ -----------------------------------------------------------------------------------
1564
+  (0.0ms) SAVEPOINT active_record_1
1565
+ SQL (0.3ms) 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.160086"], ["updated_at", "2022-05-19 13:12:17.160086"]]
1566
+  (0.0ms) 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
+  (0.3ms) rollback transaction
1571
+  (0.0ms) begin transaction
1572
+ -----------------------------------------------------------------------------
1573
+ PointlessFeedback::FeedbackMailerTest: test_0004_feedback from email when set
1574
+ -----------------------------------------------------------------------------
1575
+  (0.0ms) SAVEPOINT active_record_1
1576
+ SQL (0.7ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
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
+  (0.5ms) rollback transaction
1582
+  (0.1ms) begin transaction
1583
+ -------------------------------------------------------------------------------------------
1584
+ PointlessFeedback::FeedbackMailerTest: test_0005_feedback from email when set as the sender
1585
+ -------------------------------------------------------------------------------------------
1586
+  (0.1ms) SAVEPOINT active_record_1
1587
+ SQL (0.3ms) 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.169487"], ["updated_at", "2022-05-19 13:12:17.169487"]]
1588
+  (0.0ms) 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
+  (0.3ms) rollback transaction
1593
+  (0.0ms) begin transaction
1594
+ ----------------------------------------------------------------------------------------------------
1595
+ PointlessFeedback::MessageTest::validating against spam: test_0001_allows descriptions with no links
1596
+ ----------------------------------------------------------------------------------------------------
1597
+  (0.1ms) rollback transaction
1598
+  (0.0ms) begin transaction
1599
+ -------------------------------------------------------------------------------------------------------------------
1600
+ PointlessFeedback::MessageTest::validating against spam: test_0002_does not allow descriptions with 3 or more links
1601
+ -------------------------------------------------------------------------------------------------------------------
1602
+  (0.0ms) rollback transaction
1603
+  (0.0ms) begin transaction
1604
+ -----------------------------------------------------------------------------------------
1605
+ PointlessFeedback::CaptchaTest::.pass?: test_0001_returns true if Google response is true
1606
+ -----------------------------------------------------------------------------------------
1607
+  (0.1ms) rollback transaction
1608
+  (0.0ms) begin transaction
1609
+ ------------------------------------------------------------------------------------------
1610
+ PointlessFeedback::CaptchaTest::.pass?: test_0002_returns false if Google response is true
1611
+ ------------------------------------------------------------------------------------------
1612
+  (0.1ms) rollback transaction
1613
+  (0.0ms) begin transaction
1614
+ ----------------------------------------------------------------------------------------
1615
+ PointlessFeedback::MessageTest::validating email: test_0001_allows a valid email address
1616
+ ----------------------------------------------------------------------------------------
1617
+  (0.1ms) rollback transaction
1618
+  (0.1ms) begin transaction
1619
+ -------------------------------------------------------------------------------------------------
1620
+ PointlessFeedback::MessageTest::validating email: test_0002_does not allow invalid emails address
1621
+ -------------------------------------------------------------------------------------------------
1622
+  (0.0ms) rollback transaction
1623
+  (0.0ms) 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
+  (0.1ms) rollback transaction
1632
+  (0.0ms) 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
+  (0.1ms) rollback transaction
1641
+  (0.0ms) 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
+  (0.0ms) SAVEPOINT active_record_1
1648
+ SQL (0.3ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-19 13:12:17.191207"], ["updated_at", "2022-05-19 13:12:17.191207"]]
1649
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1650
+ Redirected to http://test.host/dashboard
1651
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
1652
+  (0.3ms) rollback transaction
1653
+  (0.0ms) begin transaction
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
+  (0.0ms) SAVEPOINT active_record_1
1660
+ SQL (0.3ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-19 13:12:17.194646"], ["updated_at", "2022-05-19 13:12:17.194646"]]
1661
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1662
+ Redirected to http://test.host/dashboard
1663
+ Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
1664
+  (0.4ms) rollback transaction
1665
+  (0.1ms) 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
+  (0.1ms) SAVEPOINT active_record_1
1672
+ SQL (0.3ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-19 13:12:17.199069"], ["updated_at", "2022-05-19 13:12:17.199069"]]
1673
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1674
+ Redirected to http://test.host/dashboard
1675
+ Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
1676
+  (0.4ms) rollback transaction
1677
+  (0.1ms) begin transaction
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
+  (0.0ms) rollback transaction
1686
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
1695
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
1704
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
1713
+  (0.1ms) begin transaction
1714
+ -------------------------------------------------------------------
1715
+ ViewsGeneratorTest: test_0001_Assert all views are properly created
1716
+ -------------------------------------------------------------------
1717
+  (0.1ms) rollback transaction
1718
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1719
+  (0.1ms) begin transaction
1720
+ -------------------------------------------------------------------
1721
+ ViewsGeneratorTest: test_0001_Assert all views are properly created
1722
+ -------------------------------------------------------------------
1723
+  (0.1ms) rollback transaction
1724
+  (0.0ms) begin transaction
1725
+ ---------------------------------------------------------------------------------------------------------------------------------
1726
+ PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is true: test_0001_sends mail after create
1727
+ ---------------------------------------------------------------------------------------------------------------------------------
1728
+  (0.1ms) SAVEPOINT active_record_1
1729
+ SQL (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1731
+  (0.4ms) rollback transaction
1732
+  (0.0ms) begin transaction
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
+  (0.0ms) SAVEPOINT active_record_1
1739
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
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
+  (0.1ms) rollback transaction
1743
+  (0.0ms) begin transaction
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
+  (0.0ms) SAVEPOINT active_record_1
1750
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
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
+  (0.2ms) rollback transaction
1754
+  (0.3ms) begin transaction
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
+  (0.1ms) SAVEPOINT active_record_1
1761
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
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
+  (0.1ms) rollback transaction
1765
+  (0.1ms) begin transaction
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
+  (0.0ms) SAVEPOINT active_record_1
1777
+ SQL (0.3ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "This site is awful"], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2022-05-19 13:13:06.383189"], ["updated_at", "2022-05-19 13:13:06.383189"]]
1778
+  (0.0ms) 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
+  (0.4ms) rollback transaction
1786
+  (0.0ms) 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
+  (0.0ms) SAVEPOINT active_record_1
1798
+ SQL (0.5ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "This site is awful"], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2022-05-19 13:13:06.415080"], ["updated_at", "2022-05-19 13:13:06.415080"]]
1799
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.4ms) rollback transaction
1807
+  (0.1ms) begin transaction
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
+  (0.0ms) rollback transaction
1815
+  (0.0ms) begin transaction
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
+  (0.1ms) rollback transaction
1823
+  (0.0ms) begin transaction
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
+  (0.0ms) rollback transaction
1831
+  (0.0ms) begin transaction
1832
+ -----------------------------------------------------------------------------------------------------------------
1833
+ PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0001_outputs named path from the main app
1834
+ -----------------------------------------------------------------------------------------------------------------
1835
+  (0.0ms) rollback transaction
1836
+  (0.0ms) begin transaction
1837
+ ----------------------------------------------------------------------------------------------------------------
1838
+ PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0002_outputs named url from the main app
1839
+ ----------------------------------------------------------------------------------------------------------------
1840
+  (0.0ms) rollback transaction
1841
+  (0.0ms) begin transaction
1842
+ ---------------------------------------------------------------------------------------------------------------
1843
+ PointlessFeedback::ApplicationHelperTest::main app's named routes: test_0003_raises exception with other routes
1844
+ ---------------------------------------------------------------------------------------------------------------
1845
+  (0.0ms) rollback transaction
1846
+  (0.0ms) begin transaction
1847
+ ----------------------------------------------------------------------------------------------------
1848
+ PointlessFeedback::MessageTest::validating against spam: test_0001_allows descriptions with no links
1849
+ ----------------------------------------------------------------------------------------------------
1850
+  (0.0ms) rollback transaction
1851
+  (0.0ms) begin transaction
1852
+ -------------------------------------------------------------------------------------------------------------------
1853
+ PointlessFeedback::MessageTest::validating against spam: test_0002_does not allow descriptions with 3 or more links
1854
+ -------------------------------------------------------------------------------------------------------------------
1855
+  (0.0ms) rollback transaction
1856
+  (0.0ms) begin transaction
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
+  (0.0ms) SAVEPOINT active_record_1
1863
+ SQL (0.3ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1888
+ Redirected to http://test.host/dashboard
1889
+ Completed 302 Found in 179ms (ActiveRecord: 0.4ms)
1890
+  (0.8ms) rollback transaction
1891
+  (0.0ms) 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
+  (0.0ms) SAVEPOINT active_record_1
1898
+ SQL (0.3ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1923
+ Redirected to http://test.host/dashboard
1924
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
1925
+  (0.4ms) rollback transaction
1926
+  (0.0ms) begin transaction
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
+  (0.0ms) SAVEPOINT active_record_1
1933
+ SQL (0.3ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1958
+ Redirected to http://test.host/dashboard
1959
+ Completed 302 Found in 5ms (ActiveRecord: 0.4ms)
1960
+  (0.4ms) rollback transaction
1961
+  (0.0ms) 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
+  (0.1ms) SAVEPOINT active_record_1
1973
+ SQL (0.4ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "I got nymphomania."], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2022-05-19 13:13:06.650655"], ["updated_at", "2022-05-19 13:13:06.650655"]]
1974
+  (0.1ms) RELEASE SAVEPOINT active_record_1
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
+  (0.6ms) rollback transaction
1982
+  (0.1ms) begin transaction
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
+  (0.1ms) SAVEPOINT active_record_1
1994
+ SQL (3.1ms) 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.682644"], ["updated_at", "2022-05-19 13:13:06.682644"]]
1995
+  (0.1ms) 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
+  (0.6ms) rollback transaction
2003
+  (0.1ms) begin transaction
2004
+ -----------------------------------------------------------------------------------------
2005
+ PointlessFeedback::CaptchaTest::.pass?: test_0001_returns true if Google response is true
2006
+ -----------------------------------------------------------------------------------------
2007
+  (0.1ms) rollback transaction
2008
+  (0.1ms) begin transaction
2009
+ ------------------------------------------------------------------------------------------
2010
+ PointlessFeedback::CaptchaTest::.pass?: test_0002_returns false if Google response is true
2011
+ ------------------------------------------------------------------------------------------
2012
+  (0.1ms) rollback transaction
2013
+  (0.1ms) begin transaction
2014
+ ----------------------------------------------------------------------------------------
2015
+ PointlessFeedback::MessageTest::validating email: test_0001_allows a valid email address
2016
+ ----------------------------------------------------------------------------------------
2017
+  (0.1ms) rollback transaction
2018
+  (0.2ms) begin transaction
2019
+ -------------------------------------------------------------------------------------------------
2020
+ PointlessFeedback::MessageTest::validating email: test_0002_does not allow invalid emails address
2021
+ -------------------------------------------------------------------------------------------------
2022
+  (0.1ms) rollback transaction
2023
+  (0.1ms) 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
+  (0.1ms) SAVEPOINT active_record_1
2035
+ SQL (0.5ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "This site is awful"], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2022-05-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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
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
+  (0.5ms) rollback transaction
2067
+  (0.1ms) begin transaction
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
+  (0.1ms) SAVEPOINT active_record_1
2079
+ SQL (0.3ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "This site is awful"], ["email_address", "eli@example.com"], ["name", "Eli"], ["topic", "Other"], ["created_at", "2022-05-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
+  (0.0ms) 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
+  (0.5ms) rollback transaction
2111
+  (0.0ms) 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
+  (0.0ms) SAVEPOINT active_record_1
2116
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2118
+  (0.4ms) rollback transaction
2119
+  (0.1ms) begin transaction
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
+  (0.1ms) rollback transaction
2128
+  (0.0ms) begin transaction
2129
+ --------------------------------------
2130
+ PointlessFeedbackTest: test_0001_truth
2131
+ --------------------------------------
2132
+  (0.0ms) rollback transaction
2133
+  (0.0ms) begin transaction
2134
+ ---------------------------------------------------------------------
2135
+ InstallGeneratorTest: test_0001_Assert all files are properly created
2136
+ ---------------------------------------------------------------------
2137
+  (0.1ms) rollback transaction
2138
+  (0.1ms) begin transaction
2139
+ -------------------------------------------------------
2140
+ PointlessFeedback::MessageTest: test_0001_requires name
2141
+ -------------------------------------------------------
2142
+  (0.0ms) SAVEPOINT active_record_1
2143
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2144
+  (0.0ms) rollback transaction
2145
+  (0.2ms) begin transaction
2146
+ ----------------------------------------------------------------
2147
+ PointlessFeedback::MessageTest: test_0002_requires email_address
2148
+ ----------------------------------------------------------------
2149
+  (0.0ms) SAVEPOINT active_record_1
2150
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
2151
+  (0.0ms) rollback transaction
2152
+  (0.0ms) begin transaction
2153
+ --------------------------------------------------------
2154
+ PointlessFeedback::MessageTest: test_0003_requires topic
2155
+ --------------------------------------------------------
2156
+  (0.0ms) SAVEPOINT active_record_1
2157
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2158
+  (0.0ms) rollback transaction
2159
+  (0.0ms) begin transaction
2160
+ --------------------------------------------------------------
2161
+ PointlessFeedback::MessageTest: test_0004_requires description
2162
+ --------------------------------------------------------------
2163
+  (0.0ms) SAVEPOINT active_record_1
2164
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2165
+  (0.0ms) rollback transaction
2166
+  (0.0ms) begin transaction
2167
+ ---------------------------------------------------------------
2168
+ PointlessFeedback::FeedbackMailerTest: test_0001_feedback email
2169
+ ---------------------------------------------------------------
2170
+  (0.0ms) SAVEPOINT active_record_1
2171
+ SQL (0.3ms) 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.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
+  (0.0ms) 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
+  (0.4ms) rollback transaction
2199
+  (0.1ms) begin transaction
2200
+ --------------------------------------------------------------------
2201
+ PointlessFeedback::FeedbackMailerTest: test_0002_feedback email body
2202
+ --------------------------------------------------------------------
2203
+  (0.1ms) SAVEPOINT active_record_1
2204
+ SQL (0.4ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
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
+  (0.3ms) rollback transaction
2232
+  (0.0ms) begin transaction
2233
+ -----------------------------------------------------------------------------------
2234
+ PointlessFeedback::FeedbackMailerTest: test_0003_feedback email body with URL field
2235
+ -----------------------------------------------------------------------------------
2236
+  (0.0ms) SAVEPOINT active_record_1
2237
+ SQL (0.3ms) 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.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
+  (0.0ms) 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
+  (0.3ms) rollback transaction
2265
+  (0.0ms) begin transaction
2266
+ -----------------------------------------------------------------------------
2267
+ PointlessFeedback::FeedbackMailerTest: test_0004_feedback from email when set
2268
+ -----------------------------------------------------------------------------
2269
+  (0.0ms) SAVEPOINT active_record_1
2270
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+  (0.4ms) rollback transaction
2299
+  (0.0ms) begin transaction
2300
+ -------------------------------------------------------------------------------------------
2301
+ PointlessFeedback::FeedbackMailerTest: test_0005_feedback from email when set as the sender
2302
+ -------------------------------------------------------------------------------------------
2303
+  (0.0ms) SAVEPOINT active_record_1
2304
+ SQL (0.6ms) 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.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
+  (0.1ms) 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
+  (0.4ms) rollback transaction
2333
+  (0.0ms) 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
+  (0.0ms) SAVEPOINT active_record_1
2340
+ SQL (0.3ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2365
+ Redirected to http://test.host/
2366
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
2367
+  (0.3ms) rollback transaction
2368
+  (0.0ms) begin transaction
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
+  (0.0ms) SAVEPOINT active_record_1
2375
+ SQL (0.3ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2400
+ Redirected to http://test.host/
2401
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
2402
+  (0.6ms) rollback transaction
2403
+  (0.1ms) 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
+  (0.0ms) SAVEPOINT active_record_1
2410
+ SQL (0.3ms) INSERT INTO "pointless_feedback_messages" ("description", "email_address", "name", "topic", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["description", "Yo website bork"], ["email_address", "some_guy@web.com"], ["name", "Some Guy"], ["topic", "Other"], ["created_at", "2022-05-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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2435
+ Redirected to http://test.host/
2436
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
2437
+  (0.4ms) rollback transaction
2438
+  (0.0ms) begin transaction
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
+  (0.0ms) SAVEPOINT active_record_1
2443
+ SQL (0.3ms) 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", "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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2445
+  (0.5ms) rollback transaction
2446
+  (0.0ms) begin transaction
2447
+ -------------------------------------------------------------------------------
2448
+ PointlessFeedback::MessageTest::validating topics: test_0001_allows valid topic
2449
+ -------------------------------------------------------------------------------
2450
+  (0.0ms) rollback transaction
2451
+  (0.0ms) begin transaction
2452
+ -----------------------------------------------------------------------------------------
2453
+ PointlessFeedback::MessageTest::validating topics: test_0002_does not allow invalid topic
2454
+ -----------------------------------------------------------------------------------------
2455
+  (0.1ms) rollback transaction
2456
+  (0.0ms) begin transaction
2457
+ ---------------------------------------------------------------------------------------------------------------------------------
2458
+ PointlessFeedback::MessageTest::export_feedback::when PointlessFeedback.email_feedback is false: test_0001_does not send any mail
2459
+ ---------------------------------------------------------------------------------------------------------------------------------
2460
+  (0.0ms) SAVEPOINT active_record_1
2461
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2463
+  (0.3ms) rollback transaction