blogy 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1308,3 +1308,2045 @@ Completed 201 Created in 11ms (Views: 8.8ms | ActiveRecord: 0.0ms)
1308
1308
  BlogyTest: test_0001_truth
1309
1309
  --------------------------
1310
1310
   (0.1ms) rollback transaction
1311
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1312
+  (5.1ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar, "remote" varchar, "content_type" varchar, "content_format" varchar) 
1313
+  (0.5ms) select sqlite_version(*)
1314
+  (2.1ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
1315
+  (0.2ms) SELECT sql
1316
+ FROM sqlite_master
1317
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1318
+ UNION ALL
1319
+ SELECT sql
1320
+ FROM sqlite_temp_master
1321
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1322
+
1323
+  (1.3ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
1324
+  (0.1ms) SELECT sql
1325
+ FROM sqlite_master
1326
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1327
+ UNION ALL
1328
+ SELECT sql
1329
+ FROM sqlite_temp_master
1330
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1331
+
1332
+  (0.2ms)  SELECT sql
1333
+ FROM sqlite_master
1334
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1335
+ UNION ALL
1336
+ SELECT sql
1337
+ FROM sqlite_temp_master
1338
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1339
+ 
1340
+  (1.3ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
1341
+  (1.0ms) CREATE TABLE "blogy_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published" boolean, "draft" boolean, "ilustration" varchar, "ilustration_tmp" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1342
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
1343
+  (2.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1344
+  (0.1ms) SELECT version FROM "schema_migrations"
1345
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150216204624')
1346
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1347
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1348
+ Migrating to CreateBlogyPosts (20150211002506)
1349
+  (0.1ms) begin transaction
1350
+  (0.2ms) CREATE TABLE "blogy_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published" boolean, "draft" boolean, "ilustration" varchar, "ilustration_tmp" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1351
+ SQLite3::SQLException: table "blogy_posts" already exists: CREATE TABLE "blogy_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published" boolean, "draft" boolean, "ilustration" varchar, "ilustration_tmp" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1352
+  (0.1ms) rollback transaction
1353
+  (2.6ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar, "remote" varchar, "content_type" varchar, "content_format" varchar) 
1354
+  (0.2ms) select sqlite_version(*)
1355
+  (1.7ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
1356
+  (0.2ms) SELECT sql
1357
+ FROM sqlite_master
1358
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1359
+ UNION ALL
1360
+ SELECT sql
1361
+ FROM sqlite_temp_master
1362
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1363
+
1364
+  (3.0ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
1365
+  (0.1ms) SELECT sql
1366
+ FROM sqlite_master
1367
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1368
+ UNION ALL
1369
+ SELECT sql
1370
+ FROM sqlite_temp_master
1371
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1372
+
1373
+  (2.3ms)  SELECT sql
1374
+ FROM sqlite_master
1375
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1376
+ UNION ALL
1377
+ SELECT sql
1378
+ FROM sqlite_temp_master
1379
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1380
+ 
1381
+  (0.9ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
1382
+  (0.8ms) CREATE TABLE "blogy_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published" boolean, "draft" boolean, "ilustration" varchar, "ilustration_tmp" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1383
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
1384
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1385
+  (0.2ms) SELECT version FROM "schema_migrations"
1386
+  (1.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150216204624')
1387
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20150211002506')
1388
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150211205643')
1389
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1390
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1391
+  (0.1ms) begin transaction
1392
+ --------------------------------------------------------
1393
+ Blogy::PostsControllerTest: test_0006_should update post
1394
+ --------------------------------------------------------
1395
+ Processing by Blogy::PostsController#update as JSON
1396
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}, "id"=>"1001"}
1397
+  (0.1ms) SAVEPOINT active_record_1
1398
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1399
+ Completed 204 No Content in 26ms (ActiveRecord: 0.2ms)
1400
+  (0.1ms) rollback transaction
1401
+  (0.1ms) begin transaction
1402
+ --------------------------------------------------------
1403
+ Blogy::PostsControllerTest: test_0003_should create post
1404
+ --------------------------------------------------------
1405
+ Processing by Blogy::PostsController#create as JSON
1406
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}}
1407
+ Completed 201 Created in 15ms (Views: 8.4ms | ActiveRecord: 0.0ms)
1408
+  (0.1ms) rollback transaction
1409
+  (0.1ms) begin transaction
1410
+ ---------------------------------------------------------
1411
+ Blogy::PostsControllerTest: test_0007_should destroy post
1412
+ ---------------------------------------------------------
1413
+ Processing by Blogy::PostsController#destroy as JSON
1414
+ Parameters: {"id"=>"1003"}
1415
+ Completed 204 No Content in 2ms (ActiveRecord: 0.0ms)
1416
+  (0.1ms) rollback transaction
1417
+  (0.1ms) begin transaction
1418
+ ----------------------------------------------------
1419
+ Blogy::PostsControllerTest: test_0002_should get new
1420
+ ----------------------------------------------------
1421
+ Processing by Blogy::PostsController#new as JSON
1422
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.0ms)
1423
+  (0.1ms) rollback transaction
1424
+  (0.1ms) begin transaction
1425
+ ------------------------------------------------------
1426
+ Blogy::PostsControllerTest: test_0004_should show post
1427
+ ------------------------------------------------------
1428
+ Processing by Blogy::PostsController#show as JSON
1429
+ Parameters: {"id"=>"1005"}
1430
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1431
+  (0.1ms) rollback transaction
1432
+  (0.1ms) begin transaction
1433
+ -----------------------------------------------------
1434
+ Blogy::PostsControllerTest: test_0005_should get edit
1435
+ -----------------------------------------------------
1436
+ Processing by Blogy::PostsController#edit as JSON
1437
+ Parameters: {"id"=>"1006"}
1438
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1439
+  (0.1ms) rollback transaction
1440
+  (0.1ms) begin transaction
1441
+ ------------------------------------------------------
1442
+ Blogy::PostsControllerTest: test_0001_should get index
1443
+ ------------------------------------------------------
1444
+ Processing by Blogy::PostsController#index as JSON
1445
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts"
1446
+ Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)
1447
+  (0.8ms) rollback transaction
1448
+  (0.1ms) begin transaction
1449
+ --------------------------
1450
+ BlogyTest: test_0001_truth
1451
+ --------------------------
1452
+  (0.1ms) rollback transaction
1453
+  (2.1ms) begin transaction
1454
+ ------------------------------------------------
1455
+ Blogy::Post::TranslationTest: test_0001_is valid
1456
+ ------------------------------------------------
1457
+  (0.1ms) rollback transaction
1458
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
1459
+  (0.1ms) begin transaction
1460
+ ------------------------------------------------
1461
+ Blogy::Post::TranslationTest: test_0001_is valid
1462
+ ------------------------------------------------
1463
+  (0.1ms) rollback transaction
1464
+  (0.1ms) begin transaction
1465
+ --------------------------
1466
+ BlogyTest: test_0001_truth
1467
+ --------------------------
1468
+  (0.1ms) rollback transaction
1469
+  (0.1ms) begin transaction
1470
+ ---------------------------------------------------------
1471
+ Blogy::PostsControllerTest: test_0007_should destroy post
1472
+ ---------------------------------------------------------
1473
+ Processing by Blogy::PostsController#destroy as JSON
1474
+ Parameters: {"id"=>"1002"}
1475
+ Completed 204 No Content in 18ms (ActiveRecord: 0.0ms)
1476
+  (0.1ms) rollback transaction
1477
+  (0.1ms) begin transaction
1478
+ -----------------------------------------------------
1479
+ Blogy::PostsControllerTest: test_0005_should get edit
1480
+ -----------------------------------------------------
1481
+ Processing by Blogy::PostsController#edit as JSON
1482
+ Parameters: {"id"=>"1003"}
1483
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1484
+  (0.1ms) rollback transaction
1485
+  (0.1ms) begin transaction
1486
+ ------------------------------------------------------
1487
+ Blogy::PostsControllerTest: test_0004_should show post
1488
+ ------------------------------------------------------
1489
+ Processing by Blogy::PostsController#show as JSON
1490
+ Parameters: {"id"=>"1004"}
1491
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1492
+  (0.1ms) rollback transaction
1493
+  (0.1ms) begin transaction
1494
+ --------------------------------------------------------
1495
+ Blogy::PostsControllerTest: test_0003_should create post
1496
+ --------------------------------------------------------
1497
+ Processing by Blogy::PostsController#create as JSON
1498
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}}
1499
+ Completed 201 Created in 11ms (Views: 6.9ms | ActiveRecord: 0.0ms)
1500
+  (0.1ms) rollback transaction
1501
+  (0.1ms) begin transaction
1502
+ --------------------------------------------------------
1503
+ Blogy::PostsControllerTest: test_0006_should update post
1504
+ --------------------------------------------------------
1505
+ Processing by Blogy::PostsController#update as JSON
1506
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}, "id"=>"1006"}
1507
+  (0.1ms) SAVEPOINT active_record_1
1508
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1509
+ Completed 204 No Content in 5ms (ActiveRecord: 0.2ms)
1510
+  (0.1ms) rollback transaction
1511
+  (0.1ms) begin transaction
1512
+ ------------------------------------------------------
1513
+ Blogy::PostsControllerTest: test_0001_should get index
1514
+ ------------------------------------------------------
1515
+ Processing by Blogy::PostsController#index as JSON
1516
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts"
1517
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)
1518
+  (0.1ms) rollback transaction
1519
+  (0.1ms) begin transaction
1520
+ ----------------------------------------------------
1521
+ Blogy::PostsControllerTest: test_0002_should get new
1522
+ ----------------------------------------------------
1523
+ Processing by Blogy::PostsController#new as JSON
1524
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.0ms)
1525
+  (0.1ms) rollback transaction
1526
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1527
+  (0.1ms) begin transaction
1528
+ ------------------------------------------------
1529
+ Blogy::Post::TranslationTest: test_0001_is valid
1530
+ ------------------------------------------------
1531
+  (0.1ms) rollback transaction
1532
+  (0.1ms) begin transaction
1533
+ --------------------------
1534
+ BlogyTest: test_0001_truth
1535
+ --------------------------
1536
+  (0.0ms) rollback transaction
1537
+  (0.1ms) begin transaction
1538
+ --------------------------------------------------------
1539
+ Blogy::PostsControllerTest: test_0006_should update post
1540
+ --------------------------------------------------------
1541
+ Processing by Blogy::PostsController#update as JSON
1542
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}, "id"=>"1002"}
1543
+  (0.1ms) SAVEPOINT active_record_1
1544
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1545
+ Completed 204 No Content in 16ms (ActiveRecord: 0.2ms)
1546
+  (0.1ms) rollback transaction
1547
+  (0.1ms) begin transaction
1548
+ --------------------------------------------------------
1549
+ Blogy::PostsControllerTest: test_0003_should create post
1550
+ --------------------------------------------------------
1551
+ Processing by Blogy::PostsController#create as JSON
1552
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}}
1553
+ Completed 201 Created in 8ms (Views: 5.7ms | ActiveRecord: 0.0ms)
1554
+  (0.1ms) rollback transaction
1555
+  (0.1ms) begin transaction
1556
+ ----------------------------------------------------
1557
+ Blogy::PostsControllerTest: test_0002_should get new
1558
+ ----------------------------------------------------
1559
+ Processing by Blogy::PostsController#new as JSON
1560
+ Completed 200 OK in 2ms (Views: 0.7ms | ActiveRecord: 0.0ms)
1561
+  (0.1ms) rollback transaction
1562
+  (0.1ms) begin transaction
1563
+ ------------------------------------------------------
1564
+ Blogy::PostsControllerTest: test_0001_should get index
1565
+ ------------------------------------------------------
1566
+ Processing by Blogy::PostsController#index as JSON
1567
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts"
1568
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)
1569
+  (0.1ms) rollback transaction
1570
+  (0.1ms) begin transaction
1571
+ ------------------------------------------------------
1572
+ Blogy::PostsControllerTest: test_0004_should show post
1573
+ ------------------------------------------------------
1574
+ Processing by Blogy::PostsController#show as JSON
1575
+ Parameters: {"id"=>"1006"}
1576
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1577
+  (0.1ms) rollback transaction
1578
+  (0.1ms) begin transaction
1579
+ -----------------------------------------------------
1580
+ Blogy::PostsControllerTest: test_0005_should get edit
1581
+ -----------------------------------------------------
1582
+ Processing by Blogy::PostsController#edit as JSON
1583
+ Parameters: {"id"=>"1007"}
1584
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1585
+  (0.1ms) rollback transaction
1586
+  (0.1ms) begin transaction
1587
+ ---------------------------------------------------------
1588
+ Blogy::PostsControllerTest: test_0007_should destroy post
1589
+ ---------------------------------------------------------
1590
+ Processing by Blogy::PostsController#destroy as JSON
1591
+ Parameters: {"id"=>"1008"}
1592
+ Completed 204 No Content in 2ms (ActiveRecord: 0.0ms)
1593
+  (0.1ms) rollback transaction
1594
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1595
+  (0.1ms) begin transaction
1596
+ ------------------------------------------------
1597
+ Blogy::Post::TranslationTest: test_0001_is valid
1598
+ ------------------------------------------------
1599
+  (0.1ms) rollback transaction
1600
+  (0.1ms) begin transaction
1601
+ ----------------------------------------------------
1602
+ Blogy::PostsControllerTest: test_0002_should get new
1603
+ ----------------------------------------------------
1604
+  (0.1ms) rollback transaction
1605
+  (0.1ms) begin transaction
1606
+ ------------------------------------------------------
1607
+ Blogy::PostsControllerTest: test_0004_should show post
1608
+ ------------------------------------------------------
1609
+  (0.1ms) rollback transaction
1610
+  (0.1ms) begin transaction
1611
+ --------------------------------------------------------
1612
+ Blogy::PostsControllerTest: test_0003_should create post
1613
+ --------------------------------------------------------
1614
+  (0.1ms) rollback transaction
1615
+  (0.0ms) begin transaction
1616
+ -----------------------------------------------------
1617
+ Blogy::PostsControllerTest: test_0005_should get edit
1618
+ -----------------------------------------------------
1619
+  (0.1ms) rollback transaction
1620
+  (0.1ms) begin transaction
1621
+ --------------------------------------------------------
1622
+ Blogy::PostsControllerTest: test_0006_should update post
1623
+ --------------------------------------------------------
1624
+  (0.1ms) rollback transaction
1625
+  (0.0ms) begin transaction
1626
+ ------------------------------------------------------
1627
+ Blogy::PostsControllerTest: test_0001_should get index
1628
+ ------------------------------------------------------
1629
+  (0.1ms) rollback transaction
1630
+  (0.0ms) begin transaction
1631
+ ---------------------------------------------------------
1632
+ Blogy::PostsControllerTest: test_0007_should destroy post
1633
+ ---------------------------------------------------------
1634
+  (0.1ms) rollback transaction
1635
+  (0.1ms) begin transaction
1636
+ --------------------------
1637
+ BlogyTest: test_0001_truth
1638
+ --------------------------
1639
+  (0.0ms) rollback transaction
1640
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1641
+  (0.1ms) begin transaction
1642
+ --------------------------
1643
+ BlogyTest: test_0001_truth
1644
+ --------------------------
1645
+  (0.0ms) rollback transaction
1646
+  (0.1ms) begin transaction
1647
+ ------------------------------------------------
1648
+ Blogy::Post::TranslationTest: test_0001_is valid
1649
+ ------------------------------------------------
1650
+  (0.1ms) rollback transaction
1651
+  (0.1ms) begin transaction
1652
+ --------------------------------------------------------
1653
+ Blogy::PostsControllerTest: test_0006_should update post
1654
+ --------------------------------------------------------
1655
+ Processing by Blogy::PostsController#update as JSON
1656
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}, "id"=>"1002"}
1657
+  (0.1ms) SAVEPOINT active_record_1
1658
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1659
+ Completed 204 No Content in 16ms (ActiveRecord: 0.1ms)
1660
+  (0.1ms) rollback transaction
1661
+  (0.1ms) begin transaction
1662
+ ---------------------------------------------------------
1663
+ Blogy::PostsControllerTest: test_0007_should destroy post
1664
+ ---------------------------------------------------------
1665
+ Processing by Blogy::PostsController#destroy as JSON
1666
+ Parameters: {"id"=>"1003"}
1667
+ Completed 204 No Content in 2ms (ActiveRecord: 0.0ms)
1668
+  (0.1ms) rollback transaction
1669
+  (0.1ms) begin transaction
1670
+ --------------------------------------------------------
1671
+ Blogy::PostsControllerTest: test_0003_should create post
1672
+ --------------------------------------------------------
1673
+ Processing by Blogy::PostsController#create as JSON
1674
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}}
1675
+ Completed 201 Created in 8ms (Views: 5.7ms | ActiveRecord: 0.0ms)
1676
+  (0.1ms) rollback transaction
1677
+  (0.1ms) begin transaction
1678
+ ----------------------------------------------------
1679
+ Blogy::PostsControllerTest: test_0002_should get new
1680
+ ----------------------------------------------------
1681
+ Processing by Blogy::PostsController#new as JSON
1682
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1683
+  (0.1ms) rollback transaction
1684
+  (0.1ms) begin transaction
1685
+ -----------------------------------------------------
1686
+ Blogy::PostsControllerTest: test_0005_should get edit
1687
+ -----------------------------------------------------
1688
+ Processing by Blogy::PostsController#edit as JSON
1689
+ Parameters: {"id"=>"1006"}
1690
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1691
+  (0.1ms) rollback transaction
1692
+  (0.1ms) begin transaction
1693
+ ------------------------------------------------------
1694
+ Blogy::PostsControllerTest: test_0004_should show post
1695
+ ------------------------------------------------------
1696
+ Processing by Blogy::PostsController#show as JSON
1697
+ Parameters: {"id"=>"1007"}
1698
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1699
+  (0.1ms) rollback transaction
1700
+  (0.1ms) begin transaction
1701
+ ------------------------------------------------------
1702
+ Blogy::PostsControllerTest: test_0001_should get index
1703
+ ------------------------------------------------------
1704
+ Processing by Blogy::PostsController#index as JSON
1705
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts"
1706
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)
1707
+  (0.1ms) rollback transaction
1708
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1709
+  (0.1ms) begin transaction
1710
+ ------------------------------------------------------
1711
+ Blogy::PostsControllerTest: test_0004_should show post
1712
+ ------------------------------------------------------
1713
+ Processing by Blogy::PostsController#show as JSON
1714
+ Parameters: {"id"=>"1001"}
1715
+ Completed 200 OK in 15ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1716
+  (0.1ms) rollback transaction
1717
+  (0.1ms) begin transaction
1718
+ ----------------------------------------------------
1719
+ Blogy::PostsControllerTest: test_0002_should get new
1720
+ ----------------------------------------------------
1721
+ Processing by Blogy::PostsController#new as JSON
1722
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.0ms)
1723
+  (0.1ms) rollback transaction
1724
+  (0.1ms) begin transaction
1725
+ --------------------------------------------------------
1726
+ Blogy::PostsControllerTest: test_0003_should create post
1727
+ --------------------------------------------------------
1728
+ Processing by Blogy::PostsController#create as JSON
1729
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}}
1730
+ Completed 201 Created in 11ms (Views: 5.7ms | ActiveRecord: 0.0ms)
1731
+  (0.1ms) rollback transaction
1732
+  (0.1ms) begin transaction
1733
+ --------------------------------------------------------
1734
+ Blogy::PostsControllerTest: test_0006_should update post
1735
+ --------------------------------------------------------
1736
+ Processing by Blogy::PostsController#update as JSON
1737
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}, "id"=>"1004"}
1738
+  (0.1ms) SAVEPOINT active_record_1
1739
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1740
+ Completed 204 No Content in 4ms (ActiveRecord: 0.2ms)
1741
+  (0.1ms) rollback transaction
1742
+  (0.1ms) begin transaction
1743
+ ---------------------------------------------------------
1744
+ Blogy::PostsControllerTest: test_0007_should destroy post
1745
+ ---------------------------------------------------------
1746
+ Processing by Blogy::PostsController#destroy as JSON
1747
+ Parameters: {"id"=>"1005"}
1748
+ Completed 204 No Content in 2ms (ActiveRecord: 0.0ms)
1749
+  (0.1ms) rollback transaction
1750
+  (0.1ms) begin transaction
1751
+ -----------------------------------------------------
1752
+ Blogy::PostsControllerTest: test_0005_should get edit
1753
+ -----------------------------------------------------
1754
+ Processing by Blogy::PostsController#edit as JSON
1755
+ Parameters: {"id"=>"1006"}
1756
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1757
+  (0.1ms) rollback transaction
1758
+  (0.1ms) begin transaction
1759
+ ------------------------------------------------------
1760
+ Blogy::PostsControllerTest: test_0001_should get index
1761
+ ------------------------------------------------------
1762
+ Processing by Blogy::PostsController#index as JSON
1763
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts"
1764
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)
1765
+  (0.1ms) rollback transaction
1766
+  (0.1ms) begin transaction
1767
+ --------------------------
1768
+ BlogyTest: test_0001_truth
1769
+ --------------------------
1770
+  (0.0ms) rollback transaction
1771
+  (0.1ms) begin transaction
1772
+ ------------------------------------------------
1773
+ Blogy::Post::TranslationTest: test_0001_is valid
1774
+ ------------------------------------------------
1775
+  (0.1ms) rollback transaction
1776
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1777
+  (0.1ms) begin transaction
1778
+ ------------------------------------------------------
1779
+ Blogy::PostsControllerTest: test_0001_should get index
1780
+ ------------------------------------------------------
1781
+ Processing by Blogy::PostsController#index as JSON
1782
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts"
1783
+ Completed 200 OK in 16ms (Views: 0.9ms | ActiveRecord: 0.2ms)
1784
+  (0.1ms) rollback transaction
1785
+  (0.1ms) begin transaction
1786
+ --------------------------------------------------------
1787
+ Blogy::PostsControllerTest: test_0006_should update post
1788
+ --------------------------------------------------------
1789
+ Processing by Blogy::PostsController#update as JSON
1790
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}, "id"=>"1002"}
1791
+  (0.1ms) SAVEPOINT active_record_1
1792
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1793
+ Completed 204 No Content in 7ms (ActiveRecord: 0.2ms)
1794
+  (0.1ms) rollback transaction
1795
+  (0.1ms) begin transaction
1796
+ -----------------------------------------------------
1797
+ Blogy::PostsControllerTest: test_0005_should get edit
1798
+ -----------------------------------------------------
1799
+ Processing by Blogy::PostsController#edit as JSON
1800
+ Parameters: {"id"=>"1003"}
1801
+ Completed 200 OK in 4ms (Views: 0.7ms | ActiveRecord: 0.0ms)
1802
+  (0.1ms) rollback transaction
1803
+  (0.1ms) begin transaction
1804
+ ------------------------------------------------------
1805
+ Blogy::PostsControllerTest: test_0004_should show post
1806
+ ------------------------------------------------------
1807
+ Processing by Blogy::PostsController#show as JSON
1808
+ Parameters: {"id"=>"1004"}
1809
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
1810
+  (0.1ms) rollback transaction
1811
+  (0.1ms) begin transaction
1812
+ ---------------------------------------------------------
1813
+ Blogy::PostsControllerTest: test_0007_should destroy post
1814
+ ---------------------------------------------------------
1815
+ Processing by Blogy::PostsController#destroy as JSON
1816
+ Parameters: {"id"=>"1005"}
1817
+ Completed 204 No Content in 2ms (ActiveRecord: 0.0ms)
1818
+  (0.1ms) rollback transaction
1819
+  (0.1ms) begin transaction
1820
+ ----------------------------------------------------
1821
+ Blogy::PostsControllerTest: test_0002_should get new
1822
+ ----------------------------------------------------
1823
+ Processing by Blogy::PostsController#new as JSON
1824
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1825
+  (0.1ms) rollback transaction
1826
+  (0.1ms) begin transaction
1827
+ --------------------------------------------------------
1828
+ Blogy::PostsControllerTest: test_0003_should create post
1829
+ --------------------------------------------------------
1830
+ Processing by Blogy::PostsController#create as JSON
1831
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}}
1832
+ Completed 201 Created in 9ms (Views: 6.4ms | ActiveRecord: 0.0ms)
1833
+  (0.1ms) rollback transaction
1834
+  (0.1ms) begin transaction
1835
+ --------------------------
1836
+ BlogyTest: test_0001_truth
1837
+ --------------------------
1838
+  (0.1ms) rollback transaction
1839
+  (0.1ms) begin transaction
1840
+ ------------------------------------------------------------------
1841
+ Blogy::Post::TranslationTest: test_0002_decide which format to use
1842
+ ------------------------------------------------------------------
1843
+  (0.1ms) rollback transaction
1844
+  (0.1ms) begin transaction
1845
+ ------------------------------------------------
1846
+ Blogy::Post::TranslationTest: test_0001_is valid
1847
+ ------------------------------------------------
1848
+  (0.1ms) rollback transaction
1849
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1850
+  (0.1ms) begin transaction
1851
+ ------------------------------------------------
1852
+ Blogy::Post::TranslationTest: test_0001_is valid
1853
+ ------------------------------------------------
1854
+  (0.1ms) rollback transaction
1855
+  (0.1ms) begin transaction
1856
+ ------------------------------------------------------------------
1857
+ Blogy::Post::TranslationTest: test_0002_decide which format to use
1858
+ ------------------------------------------------------------------
1859
+  (0.1ms) rollback transaction
1860
+  (0.1ms) begin transaction
1861
+ --------------------------
1862
+ BlogyTest: test_0001_truth
1863
+ --------------------------
1864
+  (0.0ms) rollback transaction
1865
+  (0.1ms) begin transaction
1866
+ ------------------------------------------------------
1867
+ Blogy::PostsControllerTest: test_0001_should get index
1868
+ ------------------------------------------------------
1869
+ Processing by Blogy::PostsController#index as JSON
1870
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts"
1871
+ Completed 200 OK in 14ms (Views: 1.1ms | ActiveRecord: 0.2ms)
1872
+  (0.1ms) rollback transaction
1873
+  (0.2ms) begin transaction
1874
+ --------------------------------------------------------
1875
+ Blogy::PostsControllerTest: test_0006_should update post
1876
+ --------------------------------------------------------
1877
+ Processing by Blogy::PostsController#update as JSON
1878
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}, "id"=>"1006"}
1879
+  (0.1ms) SAVEPOINT active_record_1
1880
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1881
+ Completed 204 No Content in 4ms (ActiveRecord: 0.1ms)
1882
+  (0.1ms) rollback transaction
1883
+  (0.1ms) begin transaction
1884
+ --------------------------------------------------------
1885
+ Blogy::PostsControllerTest: test_0003_should create post
1886
+ --------------------------------------------------------
1887
+ Processing by Blogy::PostsController#create as JSON
1888
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}}
1889
+ Completed 201 Created in 8ms (Views: 5.7ms | ActiveRecord: 0.0ms)
1890
+  (0.1ms) rollback transaction
1891
+  (0.1ms) begin transaction
1892
+ ----------------------------------------------------
1893
+ Blogy::PostsControllerTest: test_0002_should get new
1894
+ ----------------------------------------------------
1895
+ Processing by Blogy::PostsController#new as JSON
1896
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1897
+  (0.1ms) rollback transaction
1898
+  (0.1ms) begin transaction
1899
+ ---------------------------------------------------------
1900
+ Blogy::PostsControllerTest: test_0007_should destroy post
1901
+ ---------------------------------------------------------
1902
+ Processing by Blogy::PostsController#destroy as JSON
1903
+ Parameters: {"id"=>"1009"}
1904
+ Completed 204 No Content in 2ms (ActiveRecord: 0.0ms)
1905
+  (0.1ms) rollback transaction
1906
+  (0.0ms) begin transaction
1907
+ -----------------------------------------------------
1908
+ Blogy::PostsControllerTest: test_0005_should get edit
1909
+ -----------------------------------------------------
1910
+ Processing by Blogy::PostsController#edit as JSON
1911
+ Parameters: {"id"=>"1010"}
1912
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1913
+  (0.1ms) rollback transaction
1914
+  (0.1ms) begin transaction
1915
+ ------------------------------------------------------
1916
+ Blogy::PostsControllerTest: test_0004_should show post
1917
+ ------------------------------------------------------
1918
+ Processing by Blogy::PostsController#show as JSON
1919
+ Parameters: {"id"=>"1011"}
1920
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
1921
+  (0.1ms) rollback transaction
1922
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1923
+  (0.1ms) begin transaction
1924
+ ------------------------------------------------
1925
+ Blogy::Post::TranslationTest: test_0001_is valid
1926
+ ------------------------------------------------
1927
+  (0.1ms) rollback transaction
1928
+  (0.1ms) begin transaction
1929
+ ---------------------------------------------------------------------------
1930
+ Blogy::Post::TranslationTest: test_0003_show up text, when text is selected
1931
+ ---------------------------------------------------------------------------
1932
+  (0.1ms) rollback transaction
1933
+  (0.1ms) begin transaction
1934
+ ------------------------------------------------------------------
1935
+ Blogy::Post::TranslationTest: test_0002_decide which format to use
1936
+ ------------------------------------------------------------------
1937
+  (0.1ms) rollback transaction
1938
+  (0.1ms) begin transaction
1939
+ -----------------------------------------------------
1940
+ Blogy::PostsControllerTest: test_0005_should get edit
1941
+ -----------------------------------------------------
1942
+ Processing by Blogy::PostsController#edit as JSON
1943
+ Parameters: {"id"=>"1006"}
1944
+ Completed 200 OK in 16ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1945
+  (0.3ms) rollback transaction
1946
+  (0.1ms) begin transaction
1947
+ --------------------------------------------------------
1948
+ Blogy::PostsControllerTest: test_0006_should update post
1949
+ --------------------------------------------------------
1950
+ Processing by Blogy::PostsController#update as JSON
1951
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}, "id"=>"1007"}
1952
+  (0.1ms) SAVEPOINT active_record_1
1953
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
1954
+ Completed 204 No Content in 4ms (ActiveRecord: 0.1ms)
1955
+  (0.1ms) rollback transaction
1956
+  (0.1ms) begin transaction
1957
+ --------------------------------------------------------
1958
+ Blogy::PostsControllerTest: test_0003_should create post
1959
+ --------------------------------------------------------
1960
+ Processing by Blogy::PostsController#create as JSON
1961
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}}
1962
+ Completed 201 Created in 9ms (Views: 7.0ms | ActiveRecord: 0.0ms)
1963
+  (0.1ms) rollback transaction
1964
+  (0.1ms) begin transaction
1965
+ ----------------------------------------------------
1966
+ Blogy::PostsControllerTest: test_0002_should get new
1967
+ ----------------------------------------------------
1968
+ Processing by Blogy::PostsController#new as JSON
1969
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1970
+  (0.1ms) rollback transaction
1971
+  (0.1ms) begin transaction
1972
+ ------------------------------------------------------
1973
+ Blogy::PostsControllerTest: test_0004_should show post
1974
+ ------------------------------------------------------
1975
+ Processing by Blogy::PostsController#show as JSON
1976
+ Parameters: {"id"=>"1010"}
1977
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
1978
+  (0.1ms) rollback transaction
1979
+  (0.1ms) begin transaction
1980
+ ------------------------------------------------------
1981
+ Blogy::PostsControllerTest: test_0001_should get index
1982
+ ------------------------------------------------------
1983
+ Processing by Blogy::PostsController#index as JSON
1984
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts"
1985
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)
1986
+  (0.1ms) rollback transaction
1987
+  (0.1ms) begin transaction
1988
+ ---------------------------------------------------------
1989
+ Blogy::PostsControllerTest: test_0007_should destroy post
1990
+ ---------------------------------------------------------
1991
+ Processing by Blogy::PostsController#destroy as JSON
1992
+ Parameters: {"id"=>"1012"}
1993
+ Completed 204 No Content in 2ms (ActiveRecord: 0.0ms)
1994
+  (0.1ms) rollback transaction
1995
+  (0.1ms) begin transaction
1996
+ --------------------------
1997
+ BlogyTest: test_0001_truth
1998
+ --------------------------
1999
+  (0.0ms) rollback transaction
2000
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
2001
+  (0.1ms) begin transaction
2002
+ ------------------------------------------------------
2003
+ Blogy::PostsControllerTest: test_0001_should get index
2004
+ ------------------------------------------------------
2005
+ Processing by Blogy::PostsController#index as JSON
2006
+ Blogy::Post Load (0.4ms) SELECT "blogy_posts".* FROM "blogy_posts"
2007
+ Completed 200 OK in 17ms (Views: 1.4ms | ActiveRecord: 0.4ms)
2008
+  (0.1ms) rollback transaction
2009
+  (0.1ms) begin transaction
2010
+ --------------------------------------------------------
2011
+ Blogy::PostsControllerTest: test_0003_should create post
2012
+ --------------------------------------------------------
2013
+ Processing by Blogy::PostsController#create as JSON
2014
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}}
2015
+ Completed 201 Created in 13ms (Views: 6.7ms | ActiveRecord: 0.0ms)
2016
+  (0.1ms) rollback transaction
2017
+  (0.1ms) begin transaction
2018
+ ------------------------------------------------------
2019
+ Blogy::PostsControllerTest: test_0004_should show post
2020
+ ------------------------------------------------------
2021
+ Processing by Blogy::PostsController#show as JSON
2022
+ Parameters: {"id"=>"1003"}
2023
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
2024
+  (0.1ms) rollback transaction
2025
+  (0.1ms) begin transaction
2026
+ ----------------------------------------------------
2027
+ Blogy::PostsControllerTest: test_0002_should get new
2028
+ ----------------------------------------------------
2029
+ Processing by Blogy::PostsController#new as JSON
2030
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.0ms)
2031
+  (0.1ms) rollback transaction
2032
+  (0.1ms) begin transaction
2033
+ ---------------------------------------------------------
2034
+ Blogy::PostsControllerTest: test_0007_should destroy post
2035
+ ---------------------------------------------------------
2036
+ Processing by Blogy::PostsController#destroy as JSON
2037
+ Parameters: {"id"=>"1005"}
2038
+ Completed 204 No Content in 2ms (ActiveRecord: 0.0ms)
2039
+  (0.1ms) rollback transaction
2040
+  (0.1ms) begin transaction
2041
+ -----------------------------------------------------
2042
+ Blogy::PostsControllerTest: test_0005_should get edit
2043
+ -----------------------------------------------------
2044
+ Processing by Blogy::PostsController#edit as JSON
2045
+ Parameters: {"id"=>"1006"}
2046
+ Completed 200 OK in 3ms (Views: 0.5ms | ActiveRecord: 0.0ms)
2047
+  (0.1ms) rollback transaction
2048
+  (0.1ms) begin transaction
2049
+ --------------------------------------------------------
2050
+ Blogy::PostsControllerTest: test_0006_should update post
2051
+ --------------------------------------------------------
2052
+ Processing by Blogy::PostsController#update as JSON
2053
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}, "id"=>"1007"}
2054
+  (0.1ms) SAVEPOINT active_record_1
2055
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2056
+ Completed 204 No Content in 4ms (ActiveRecord: 0.1ms)
2057
+  (0.1ms) rollback transaction
2058
+  (0.1ms) begin transaction
2059
+ --------------------------
2060
+ BlogyTest: test_0001_truth
2061
+ --------------------------
2062
+  (0.0ms) rollback transaction
2063
+  (0.1ms) begin transaction
2064
+ ------------------------------------------------
2065
+ Blogy::Post::TranslationTest: test_0001_is valid
2066
+ ------------------------------------------------
2067
+  (0.1ms) rollback transaction
2068
+  (0.1ms) begin transaction
2069
+ ---------------------------------------------------------------------------
2070
+ Blogy::Post::TranslationTest: test_0003_show up text, when text is selected
2071
+ ---------------------------------------------------------------------------
2072
+  (0.1ms) rollback transaction
2073
+  (0.1ms) begin transaction
2074
+ ------------------------------------------------------------------
2075
+ Blogy::Post::TranslationTest: test_0002_decide which format to use
2076
+ ------------------------------------------------------------------
2077
+  (0.1ms) rollback transaction
2078
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
2079
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2080
+ Migrating to AddDocumentDocumentTmpRemoteContentTypeFormatToBlogyPostTranslations (20150216204624)
2081
+  (0.1ms) begin transaction
2082
+  (8.4ms) CREATE TEMPORARY TABLE "ablogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar, "remote" varchar, "content_type" varchar, "content_format" varchar)
2083
+  (0.1ms)  SELECT sql
2084
+ FROM sqlite_master
2085
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2086
+ UNION ALL
2087
+ SELECT sql
2088
+ FROM sqlite_temp_master
2089
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2090
+ 
2091
+  (0.1ms) SELECT sql
2092
+ FROM sqlite_master
2093
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2094
+ UNION ALL
2095
+ SELECT sql
2096
+ FROM sqlite_temp_master
2097
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2098
+
2099
+  (0.1ms)  SELECT sql
2100
+ FROM sqlite_master
2101
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2102
+ UNION ALL
2103
+ SELECT sql
2104
+ FROM sqlite_temp_master
2105
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2106
+ 
2107
+  (0.1ms) select sqlite_version(*)
2108
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")
2109
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
2110
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")
2111
+  (0.5ms) SELECT * FROM "blogy_post_translations"
2112
+  (1.7ms) DROP TABLE "blogy_post_translations"
2113
+  (0.2ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar, "remote" varchar, "content_type" varchar)
2114
+  (0.1ms)  SELECT sql
2115
+ FROM sqlite_master
2116
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
2117
+ UNION ALL
2118
+ SELECT sql
2119
+ FROM sqlite_temp_master
2120
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
2121
+ 
2122
+  (0.1ms) SELECT sql
2123
+ FROM sqlite_master
2124
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
2125
+ UNION ALL
2126
+ SELECT sql
2127
+ FROM sqlite_temp_master
2128
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
2129
+
2130
+  (0.1ms)  SELECT sql
2131
+ FROM sqlite_master
2132
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
2133
+ UNION ALL
2134
+ SELECT sql
2135
+ FROM sqlite_temp_master
2136
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
2137
+ 
2138
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
2139
+  (0.1ms)  SELECT sql
2140
+ FROM sqlite_master
2141
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2142
+ UNION ALL
2143
+ SELECT sql
2144
+ FROM sqlite_temp_master
2145
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2146
+ 
2147
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
2148
+  (0.1ms)  SELECT sql
2149
+ FROM sqlite_master
2150
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2151
+ UNION ALL
2152
+ SELECT sql
2153
+ FROM sqlite_temp_master
2154
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2155
+ 
2156
+  (0.1ms) SELECT sql
2157
+ FROM sqlite_master
2158
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2159
+ UNION ALL
2160
+ SELECT sql
2161
+ FROM sqlite_temp_master
2162
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2163
+
2164
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
2165
+  (0.1ms) SELECT * FROM "ablogy_post_translations"
2166
+  (0.8ms) DROP TABLE "ablogy_post_translations"
2167
+  (0.2ms) CREATE TEMPORARY TABLE "ablogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar, "remote" varchar, "content_type" varchar)
2168
+  (0.1ms)  SELECT sql
2169
+ FROM sqlite_master
2170
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2171
+ UNION ALL
2172
+ SELECT sql
2173
+ FROM sqlite_temp_master
2174
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2175
+ 
2176
+  (0.1ms) SELECT sql
2177
+ FROM sqlite_master
2178
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2179
+ UNION ALL
2180
+ SELECT sql
2181
+ FROM sqlite_temp_master
2182
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2183
+
2184
+  (0.1ms)  SELECT sql
2185
+ FROM sqlite_master
2186
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2187
+ UNION ALL
2188
+ SELECT sql
2189
+ FROM sqlite_temp_master
2190
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2191
+ 
2192
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")
2193
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
2194
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")
2195
+  (0.2ms) SELECT * FROM "blogy_post_translations"
2196
+  (1.1ms) DROP TABLE "blogy_post_translations"
2197
+  (0.3ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar, "remote" varchar) 
2198
+  (0.1ms) SELECT sql
2199
+ FROM sqlite_master
2200
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
2201
+ UNION ALL
2202
+ SELECT sql
2203
+ FROM sqlite_temp_master
2204
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
2205
+
2206
+  (0.1ms)  SELECT sql
2207
+ FROM sqlite_master
2208
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
2209
+ UNION ALL
2210
+ SELECT sql
2211
+ FROM sqlite_temp_master
2212
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
2213
+ 
2214
+  (0.1ms) SELECT sql
2215
+ FROM sqlite_master
2216
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
2217
+ UNION ALL
2218
+ SELECT sql
2219
+ FROM sqlite_temp_master
2220
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
2221
+
2222
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
2223
+  (0.1ms) SELECT sql
2224
+ FROM sqlite_master
2225
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2226
+ UNION ALL
2227
+ SELECT sql
2228
+ FROM sqlite_temp_master
2229
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2230
+
2231
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
2232
+  (0.1ms) SELECT sql
2233
+ FROM sqlite_master
2234
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2235
+ UNION ALL
2236
+ SELECT sql
2237
+ FROM sqlite_temp_master
2238
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2239
+
2240
+  (0.1ms)  SELECT sql
2241
+ FROM sqlite_master
2242
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2243
+ UNION ALL
2244
+ SELECT sql
2245
+ FROM sqlite_temp_master
2246
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2247
+ 
2248
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
2249
+  (0.1ms) SELECT * FROM "ablogy_post_translations"
2250
+  (0.2ms) DROP TABLE "ablogy_post_translations"
2251
+  (0.2ms) CREATE TEMPORARY TABLE "ablogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar, "remote" varchar) 
2252
+  (0.1ms) SELECT sql
2253
+ FROM sqlite_master
2254
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2255
+ UNION ALL
2256
+ SELECT sql
2257
+ FROM sqlite_temp_master
2258
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2259
+
2260
+  (0.1ms)  SELECT sql
2261
+ FROM sqlite_master
2262
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2263
+ UNION ALL
2264
+ SELECT sql
2265
+ FROM sqlite_temp_master
2266
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2267
+ 
2268
+  (0.1ms) SELECT sql
2269
+ FROM sqlite_master
2270
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2271
+ UNION ALL
2272
+ SELECT sql
2273
+ FROM sqlite_temp_master
2274
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2275
+
2276
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")
2277
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
2278
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")
2279
+  (0.1ms) SELECT * FROM "blogy_post_translations"
2280
+  (0.2ms) DROP TABLE "blogy_post_translations"
2281
+  (0.2ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar)
2282
+  (0.1ms)  SELECT sql
2283
+ FROM sqlite_master
2284
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
2285
+ UNION ALL
2286
+ SELECT sql
2287
+ FROM sqlite_temp_master
2288
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
2289
+ 
2290
+  (0.1ms) SELECT sql
2291
+ FROM sqlite_master
2292
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
2293
+ UNION ALL
2294
+ SELECT sql
2295
+ FROM sqlite_temp_master
2296
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
2297
+
2298
+  (0.1ms)  SELECT sql
2299
+ FROM sqlite_master
2300
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
2301
+ UNION ALL
2302
+ SELECT sql
2303
+ FROM sqlite_temp_master
2304
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
2305
+ 
2306
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
2307
+  (0.1ms)  SELECT sql
2308
+ FROM sqlite_master
2309
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2310
+ UNION ALL
2311
+ SELECT sql
2312
+ FROM sqlite_temp_master
2313
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2314
+ 
2315
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
2316
+  (0.1ms)  SELECT sql
2317
+ FROM sqlite_master
2318
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2319
+ UNION ALL
2320
+ SELECT sql
2321
+ FROM sqlite_temp_master
2322
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2323
+ 
2324
+  (0.1ms) SELECT sql
2325
+ FROM sqlite_master
2326
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2327
+ UNION ALL
2328
+ SELECT sql
2329
+ FROM sqlite_temp_master
2330
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2331
+
2332
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
2333
+  (0.1ms) SELECT * FROM "ablogy_post_translations"
2334
+  (0.2ms) DROP TABLE "ablogy_post_translations"
2335
+  (0.2ms) CREATE TEMPORARY TABLE "ablogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar)
2336
+  (0.1ms)  SELECT sql
2337
+ FROM sqlite_master
2338
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2339
+ UNION ALL
2340
+ SELECT sql
2341
+ FROM sqlite_temp_master
2342
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2343
+ 
2344
+  (0.1ms) SELECT sql
2345
+ FROM sqlite_master
2346
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2347
+ UNION ALL
2348
+ SELECT sql
2349
+ FROM sqlite_temp_master
2350
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2351
+
2352
+  (0.1ms)  SELECT sql
2353
+ FROM sqlite_master
2354
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2355
+ UNION ALL
2356
+ SELECT sql
2357
+ FROM sqlite_temp_master
2358
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2359
+ 
2360
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")
2361
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
2362
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")
2363
+  (0.1ms) SELECT * FROM "blogy_post_translations"
2364
+  (0.3ms) DROP TABLE "blogy_post_translations"
2365
+  (0.2ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar) 
2366
+  (0.1ms) SELECT sql
2367
+ FROM sqlite_master
2368
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
2369
+ UNION ALL
2370
+ SELECT sql
2371
+ FROM sqlite_temp_master
2372
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
2373
+
2374
+  (0.1ms)  SELECT sql
2375
+ FROM sqlite_master
2376
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
2377
+ UNION ALL
2378
+ SELECT sql
2379
+ FROM sqlite_temp_master
2380
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
2381
+ 
2382
+  (0.1ms) SELECT sql
2383
+ FROM sqlite_master
2384
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
2385
+ UNION ALL
2386
+ SELECT sql
2387
+ FROM sqlite_temp_master
2388
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
2389
+
2390
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
2391
+  (0.1ms) SELECT sql
2392
+ FROM sqlite_master
2393
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2394
+ UNION ALL
2395
+ SELECT sql
2396
+ FROM sqlite_temp_master
2397
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2398
+
2399
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
2400
+  (0.1ms) SELECT sql
2401
+ FROM sqlite_master
2402
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2403
+ UNION ALL
2404
+ SELECT sql
2405
+ FROM sqlite_temp_master
2406
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2407
+
2408
+  (0.1ms)  SELECT sql
2409
+ FROM sqlite_master
2410
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2411
+ UNION ALL
2412
+ SELECT sql
2413
+ FROM sqlite_temp_master
2414
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2415
+ 
2416
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
2417
+  (0.1ms) SELECT * FROM "ablogy_post_translations"
2418
+  (0.2ms) DROP TABLE "ablogy_post_translations"
2419
+  (0.2ms) CREATE TEMPORARY TABLE "ablogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar) 
2420
+  (0.1ms) SELECT sql
2421
+ FROM sqlite_master
2422
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2423
+ UNION ALL
2424
+ SELECT sql
2425
+ FROM sqlite_temp_master
2426
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2427
+
2428
+  (0.1ms)  SELECT sql
2429
+ FROM sqlite_master
2430
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2431
+ UNION ALL
2432
+ SELECT sql
2433
+ FROM sqlite_temp_master
2434
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2435
+ 
2436
+  (0.1ms) SELECT sql
2437
+ FROM sqlite_master
2438
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2439
+ UNION ALL
2440
+ SELECT sql
2441
+ FROM sqlite_temp_master
2442
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2443
+
2444
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")
2445
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
2446
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")
2447
+  (0.1ms) SELECT * FROM "blogy_post_translations"
2448
+  (0.2ms) DROP TABLE "blogy_post_translations"
2449
+  (0.2ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2450
+  (0.1ms)  SELECT sql
2451
+ FROM sqlite_master
2452
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
2453
+ UNION ALL
2454
+ SELECT sql
2455
+ FROM sqlite_temp_master
2456
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
2457
+ 
2458
+  (0.1ms) SELECT sql
2459
+ FROM sqlite_master
2460
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
2461
+ UNION ALL
2462
+ SELECT sql
2463
+ FROM sqlite_temp_master
2464
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
2465
+
2466
+  (0.1ms)  SELECT sql
2467
+ FROM sqlite_master
2468
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
2469
+ UNION ALL
2470
+ SELECT sql
2471
+ FROM sqlite_temp_master
2472
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
2473
+ 
2474
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
2475
+  (0.1ms)  SELECT sql
2476
+ FROM sqlite_master
2477
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2478
+ UNION ALL
2479
+ SELECT sql
2480
+ FROM sqlite_temp_master
2481
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2482
+ 
2483
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
2484
+  (0.1ms)  SELECT sql
2485
+ FROM sqlite_master
2486
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2487
+ UNION ALL
2488
+ SELECT sql
2489
+ FROM sqlite_temp_master
2490
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2491
+ 
2492
+  (0.1ms) SELECT sql
2493
+ FROM sqlite_master
2494
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2495
+ UNION ALL
2496
+ SELECT sql
2497
+ FROM sqlite_temp_master
2498
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2499
+
2500
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
2501
+  (0.1ms) SELECT * FROM "ablogy_post_translations"
2502
+  (0.2ms) DROP TABLE "ablogy_post_translations"
2503
+ SQL (1.3ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20150216204624"]]
2504
+  (2.3ms) commit transaction
2505
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2506
+  (0.1ms)  SELECT sql
2507
+ FROM sqlite_master
2508
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2509
+ UNION ALL
2510
+ SELECT sql
2511
+ FROM sqlite_temp_master
2512
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2513
+ 
2514
+  (0.1ms) SELECT sql
2515
+ FROM sqlite_master
2516
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2517
+ UNION ALL
2518
+ SELECT sql
2519
+ FROM sqlite_temp_master
2520
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2521
+
2522
+  (0.1ms)  SELECT sql
2523
+ FROM sqlite_master
2524
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2525
+ UNION ALL
2526
+ SELECT sql
2527
+ FROM sqlite_temp_master
2528
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2529
+ 
2530
+ ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2531
+ Migrating to AddDocumentDocumentTmpRemoteTypeFormatToBlogyPostTranslations (20150216204624)
2532
+  (0.1ms) begin transaction
2533
+  (0.7ms) ALTER TABLE "blogy_post_translations" ADD "document" varchar
2534
+  (0.2ms) ALTER TABLE "blogy_post_translations" ADD "document_tmp" varchar
2535
+  (0.2ms) ALTER TABLE "blogy_post_translations" ADD "remote" varchar
2536
+  (0.2ms) ALTER TABLE "blogy_post_translations" ADD "type" varchar
2537
+  (0.2ms) ALTER TABLE "blogy_post_translations" ADD "format" varchar
2538
+ SQL (0.8ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150216204624"]]
2539
+  (1.1ms) commit transaction
2540
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2541
+  (0.2ms)  SELECT sql
2542
+ FROM sqlite_master
2543
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2544
+ UNION ALL
2545
+ SELECT sql
2546
+ FROM sqlite_temp_master
2547
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2548
+ 
2549
+  (0.1ms) SELECT sql
2550
+ FROM sqlite_master
2551
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2552
+ UNION ALL
2553
+ SELECT sql
2554
+ FROM sqlite_temp_master
2555
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2556
+
2557
+  (0.1ms)  SELECT sql
2558
+ FROM sqlite_master
2559
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2560
+ UNION ALL
2561
+ SELECT sql
2562
+ FROM sqlite_temp_master
2563
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2564
+ 
2565
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
2566
+  (0.1ms) begin transaction
2567
+ --------------------------
2568
+ BlogyTest: test_0001_truth
2569
+ --------------------------
2570
+  (0.1ms) rollback transaction
2571
+  (0.1ms) begin transaction
2572
+ ---------------------------------------------------------
2573
+ Blogy::PostsControllerTest: test_0007_should destroy post
2574
+ ---------------------------------------------------------
2575
+ Processing by Blogy::PostsController#destroy as JSON
2576
+ Parameters: {"id"=>"1001"}
2577
+ Completed 204 No Content in 18ms (ActiveRecord: 0.0ms)
2578
+  (0.1ms) rollback transaction
2579
+  (0.1ms) begin transaction
2580
+ --------------------------------------------------------
2581
+ Blogy::PostsControllerTest: test_0006_should update post
2582
+ --------------------------------------------------------
2583
+ Processing by Blogy::PostsController#update as JSON
2584
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}, "id"=>"1002"}
2585
+  (0.1ms) SAVEPOINT active_record_1
2586
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2587
+ Completed 204 No Content in 4ms (ActiveRecord: 0.2ms)
2588
+  (0.1ms) rollback transaction
2589
+  (0.4ms) begin transaction
2590
+ -----------------------------------------------------
2591
+ Blogy::PostsControllerTest: test_0005_should get edit
2592
+ -----------------------------------------------------
2593
+ Processing by Blogy::PostsController#edit as JSON
2594
+ Parameters: {"id"=>"1003"}
2595
+ Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.0ms)
2596
+  (0.1ms) rollback transaction
2597
+  (0.1ms) begin transaction
2598
+ ------------------------------------------------------
2599
+ Blogy::PostsControllerTest: test_0004_should show post
2600
+ ------------------------------------------------------
2601
+ Processing by Blogy::PostsController#show as JSON
2602
+ Parameters: {"id"=>"1004"}
2603
+ Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
2604
+  (0.1ms) rollback transaction
2605
+  (0.1ms) begin transaction
2606
+ --------------------------------------------------------
2607
+ Blogy::PostsControllerTest: test_0003_should create post
2608
+ --------------------------------------------------------
2609
+ Processing by Blogy::PostsController#create as JSON
2610
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}}
2611
+ Completed 201 Created in 9ms (Views: 6.6ms | ActiveRecord: 0.0ms)
2612
+  (0.1ms) rollback transaction
2613
+  (0.2ms) begin transaction
2614
+ ----------------------------------------------------
2615
+ Blogy::PostsControllerTest: test_0002_should get new
2616
+ ----------------------------------------------------
2617
+ Processing by Blogy::PostsController#new as JSON
2618
+ Completed 200 OK in 3ms (Views: 1.0ms | ActiveRecord: 0.0ms)
2619
+  (0.1ms) rollback transaction
2620
+  (0.1ms) begin transaction
2621
+ ------------------------------------------------------
2622
+ Blogy::PostsControllerTest: test_0001_should get index
2623
+ ------------------------------------------------------
2624
+ Processing by Blogy::PostsController#index as JSON
2625
+ Blogy::Post Load (1.0ms) SELECT "blogy_posts".* FROM "blogy_posts"
2626
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 1.0ms)
2627
+  (0.2ms) rollback transaction
2628
+  (0.1ms) begin transaction
2629
+ ------------------------------------------------
2630
+ Blogy::Post::TranslationTest: test_0001_is valid
2631
+ ------------------------------------------------
2632
+  (0.1ms) rollback transaction
2633
+  (0.1ms) begin transaction
2634
+ ------------------------------------------------------------------
2635
+ Blogy::Post::TranslationTest: test_0002_decide which format to use
2636
+ ------------------------------------------------------------------
2637
+  (0.1ms) rollback transaction
2638
+  (0.1ms) begin transaction
2639
+ ---------------------------------------------------------------------------
2640
+ Blogy::Post::TranslationTest: test_0003_show up text, when text is selected
2641
+ ---------------------------------------------------------------------------
2642
+  (0.1ms) rollback transaction
2643
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
2644
+  (0.2ms) SELECT sql
2645
+ FROM sqlite_master
2646
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2647
+ UNION ALL
2648
+ SELECT sql
2649
+ FROM sqlite_temp_master
2650
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2651
+
2652
+  (0.1ms)  SELECT sql
2653
+ FROM sqlite_master
2654
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2655
+ UNION ALL
2656
+ SELECT sql
2657
+ FROM sqlite_temp_master
2658
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2659
+ 
2660
+  (0.1ms) SELECT sql
2661
+ FROM sqlite_master
2662
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2663
+ UNION ALL
2664
+ SELECT sql
2665
+ FROM sqlite_temp_master
2666
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2667
+
2668
+ ActiveRecord::SchemaMigration Load (1.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2669
+  (0.2ms) SELECT sql
2670
+ FROM sqlite_master
2671
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2672
+ UNION ALL
2673
+ SELECT sql
2674
+ FROM sqlite_temp_master
2675
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2676
+
2677
+  (0.1ms)  SELECT sql
2678
+ FROM sqlite_master
2679
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2680
+ UNION ALL
2681
+ SELECT sql
2682
+ FROM sqlite_temp_master
2683
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2684
+ 
2685
+  (0.1ms) SELECT sql
2686
+ FROM sqlite_master
2687
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2688
+ UNION ALL
2689
+ SELECT sql
2690
+ FROM sqlite_temp_master
2691
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2692
+
2693
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2694
+  (0.2ms) begin transaction
2695
+ ------------------------------------------------------
2696
+ Blogy::PostsControllerTest: test_0004_should show post
2697
+ ------------------------------------------------------
2698
+ Processing by Blogy::PostsController#show as JSON
2699
+ Parameters: {"id"=>"1001"}
2700
+ Completed 200 OK in 15ms (Views: 1.1ms | ActiveRecord: 0.0ms)
2701
+  (0.2ms) rollback transaction
2702
+  (0.1ms) begin transaction
2703
+ --------------------------------------------------------
2704
+ Blogy::PostsControllerTest: test_0006_should update post
2705
+ --------------------------------------------------------
2706
+ Processing by Blogy::PostsController#update as JSON
2707
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}, "id"=>"1002"}
2708
+  (0.6ms) SAVEPOINT active_record_1
2709
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2710
+ Completed 204 No Content in 8ms (ActiveRecord: 0.6ms)
2711
+  (0.1ms) rollback transaction
2712
+  (0.1ms) begin transaction
2713
+ ------------------------------------------------------
2714
+ Blogy::PostsControllerTest: test_0001_should get index
2715
+ ------------------------------------------------------
2716
+ Processing by Blogy::PostsController#index as JSON
2717
+ Blogy::Post Load (0.6ms) SELECT "blogy_posts".* FROM "blogy_posts"
2718
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.6ms)
2719
+  (0.1ms) rollback transaction
2720
+  (0.1ms) begin transaction
2721
+ --------------------------------------------------------
2722
+ Blogy::PostsControllerTest: test_0003_should create post
2723
+ --------------------------------------------------------
2724
+ Processing by Blogy::PostsController#create as JSON
2725
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}}
2726
+ Completed 201 Created in 10ms (Views: 7.7ms | ActiveRecord: 0.0ms)
2727
+  (0.1ms) rollback transaction
2728
+  (0.1ms) begin transaction
2729
+ ----------------------------------------------------
2730
+ Blogy::PostsControllerTest: test_0002_should get new
2731
+ ----------------------------------------------------
2732
+ Processing by Blogy::PostsController#new as JSON
2733
+ Completed 200 OK in 2ms (Views: 0.6ms | ActiveRecord: 0.0ms)
2734
+  (0.1ms) rollback transaction
2735
+  (0.1ms) begin transaction
2736
+ ---------------------------------------------------------
2737
+ Blogy::PostsControllerTest: test_0007_should destroy post
2738
+ ---------------------------------------------------------
2739
+ Processing by Blogy::PostsController#destroy as JSON
2740
+ Parameters: {"id"=>"1006"}
2741
+ Completed 204 No Content in 2ms (ActiveRecord: 0.0ms)
2742
+  (0.1ms) rollback transaction
2743
+  (0.1ms) begin transaction
2744
+ -----------------------------------------------------
2745
+ Blogy::PostsControllerTest: test_0005_should get edit
2746
+ -----------------------------------------------------
2747
+ Processing by Blogy::PostsController#edit as JSON
2748
+ Parameters: {"id"=>"1007"}
2749
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
2750
+  (0.1ms) rollback transaction
2751
+  (0.1ms) begin transaction
2752
+ --------------------------
2753
+ BlogyTest: test_0001_truth
2754
+ --------------------------
2755
+  (0.1ms) rollback transaction
2756
+  (0.2ms) begin transaction
2757
+ ------------------------------------------------
2758
+ Blogy::Post::TranslationTest: test_0001_is valid
2759
+ ------------------------------------------------
2760
+  (0.1ms) rollback transaction
2761
+  (0.1ms) begin transaction
2762
+ ------------------------------------------------------------------
2763
+ Blogy::Post::TranslationTest: test_0002_decide which format to use
2764
+ ------------------------------------------------------------------
2765
+  (0.1ms) rollback transaction
2766
+  (0.1ms) begin transaction
2767
+ ---------------------------------------------------------------------------
2768
+ Blogy::Post::TranslationTest: test_0003_show up text, when text is selected
2769
+ ---------------------------------------------------------------------------
2770
+  (0.1ms) rollback transaction
2771
+  (1.6ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar, "remote" varchar, "storage" varchar, "format" varchar) 
2772
+  (0.1ms) select sqlite_version(*)
2773
+  (1.4ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
2774
+  (0.2ms) SELECT sql
2775
+ FROM sqlite_master
2776
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2777
+ UNION ALL
2778
+ SELECT sql
2779
+ FROM sqlite_temp_master
2780
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2781
+
2782
+  (1.3ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
2783
+  (0.2ms) SELECT sql
2784
+ FROM sqlite_master
2785
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2786
+ UNION ALL
2787
+ SELECT sql
2788
+ FROM sqlite_temp_master
2789
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2790
+
2791
+  (0.1ms)  SELECT sql
2792
+ FROM sqlite_master
2793
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2794
+ UNION ALL
2795
+ SELECT sql
2796
+ FROM sqlite_temp_master
2797
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2798
+ 
2799
+  (1.0ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
2800
+  (1.3ms) CREATE TABLE "blogy_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published" boolean, "draft" boolean, "ilustration" varchar, "ilustration_tmp" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
2801
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
2802
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2803
+  (0.1ms) SELECT version FROM "schema_migrations"
2804
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20150216204624')
2805
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2806
+  (2.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2807
+  (0.1ms) select sqlite_version(*)
2808
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2809
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2810
+ Migrating to CreateBlogyPosts (20150211002506)
2811
+  (0.2ms) begin transaction
2812
+  (0.7ms) CREATE TABLE "blogy_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published" boolean, "draft" boolean, "ilustration" varchar, "ilustration_tmp" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2813
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150211002506"]]
2814
+  (1.2ms) commit transaction
2815
+ Migrating to CreateBlogyPostTranslations (20150211205643)
2816
+  (0.1ms) begin transaction
2817
+  (0.5ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2818
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
2819
+  (0.1ms) SELECT sql
2820
+ FROM sqlite_master
2821
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2822
+ UNION ALL
2823
+ SELECT sql
2824
+ FROM sqlite_temp_master
2825
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2826
+
2827
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
2828
+  (0.1ms) SELECT sql
2829
+ FROM sqlite_master
2830
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2831
+ UNION ALL
2832
+ SELECT sql
2833
+ FROM sqlite_temp_master
2834
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2835
+
2836
+  (0.1ms)  SELECT sql
2837
+ FROM sqlite_master
2838
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2839
+ UNION ALL
2840
+ SELECT sql
2841
+ FROM sqlite_temp_master
2842
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2843
+ 
2844
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
2845
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150211205643"]]
2846
+  (1.3ms) commit transaction
2847
+ Migrating to AddDocumentDocumentTmpRemoteStorageFormatToBlogyPostTranslations (20150216204624)
2848
+  (0.1ms) begin transaction
2849
+  (0.8ms) ALTER TABLE "blogy_post_translations" ADD "document" varchar
2850
+  (0.3ms) ALTER TABLE "blogy_post_translations" ADD "document_tmp" varchar
2851
+  (0.2ms) ALTER TABLE "blogy_post_translations" ADD "remote" varchar
2852
+  (0.2ms) ALTER TABLE "blogy_post_translations" ADD "storage" varchar
2853
+  (0.2ms) ALTER TABLE "blogy_post_translations" ADD "format" varchar
2854
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150216204624"]]
2855
+  (1.2ms) commit transaction
2856
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2857
+  (0.2ms) SELECT sql
2858
+ FROM sqlite_master
2859
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2860
+ UNION ALL
2861
+ SELECT sql
2862
+ FROM sqlite_temp_master
2863
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2864
+
2865
+  (0.1ms)  SELECT sql
2866
+ FROM sqlite_master
2867
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2868
+ UNION ALL
2869
+ SELECT sql
2870
+ FROM sqlite_temp_master
2871
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2872
+ 
2873
+  (0.1ms) SELECT sql
2874
+ FROM sqlite_master
2875
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2876
+ UNION ALL
2877
+ SELECT sql
2878
+ FROM sqlite_temp_master
2879
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2880
+
2881
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2882
+  (0.1ms) begin transaction
2883
+ --------------------------
2884
+ BlogyTest: test_0001_truth
2885
+ --------------------------
2886
+  (0.1ms) rollback transaction
2887
+  (0.1ms) begin transaction
2888
+ ------------------------------------------------
2889
+ Blogy::Post::TranslationTest: test_0001_is valid
2890
+ ------------------------------------------------
2891
+  (0.1ms) rollback transaction
2892
+  (0.1ms) begin transaction
2893
+ ------------------------------------------------------------------
2894
+ Blogy::Post::TranslationTest: test_0002_decide which format to use
2895
+ ------------------------------------------------------------------
2896
+  (0.1ms) rollback transaction
2897
+  (0.1ms) begin transaction
2898
+ ---------------------------------------------------------------------------
2899
+ Blogy::Post::TranslationTest: test_0003_show up text, when text is selected
2900
+ ---------------------------------------------------------------------------
2901
+  (0.1ms) rollback transaction
2902
+  (0.1ms) begin transaction
2903
+ ------------------------------------------------------
2904
+ Blogy::PostsControllerTest: test_0001_should get index
2905
+ ------------------------------------------------------
2906
+ Processing by Blogy::PostsController#index as JSON
2907
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts"
2908
+ Completed 200 OK in 15ms (Views: 0.8ms | ActiveRecord: 0.2ms)
2909
+  (0.1ms) rollback transaction
2910
+  (0.1ms) begin transaction
2911
+ -----------------------------------------------------
2912
+ Blogy::PostsControllerTest: test_0005_should get edit
2913
+ -----------------------------------------------------
2914
+ Processing by Blogy::PostsController#edit as JSON
2915
+ Parameters: {"id"=>"1007"}
2916
+ Completed 200 OK in 4ms (Views: 0.6ms | ActiveRecord: 0.0ms)
2917
+  (0.1ms) rollback transaction
2918
+  (0.1ms) begin transaction
2919
+ ----------------------------------------------------
2920
+ Blogy::PostsControllerTest: test_0002_should get new
2921
+ ----------------------------------------------------
2922
+ Processing by Blogy::PostsController#new as JSON
2923
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
2924
+  (0.1ms) rollback transaction
2925
+  (0.1ms) begin transaction
2926
+ --------------------------------------------------------
2927
+ Blogy::PostsControllerTest: test_0003_should create post
2928
+ --------------------------------------------------------
2929
+ Processing by Blogy::PostsController#create as JSON
2930
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}}
2931
+ Completed 201 Created in 11ms (Views: 8.6ms | ActiveRecord: 0.0ms)
2932
+  (0.1ms) rollback transaction
2933
+  (0.1ms) begin transaction
2934
+ --------------------------------------------------------
2935
+ Blogy::PostsControllerTest: test_0006_should update post
2936
+ --------------------------------------------------------
2937
+ Processing by Blogy::PostsController#update as JSON
2938
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}, "id"=>"1010"}
2939
+  (0.1ms) SAVEPOINT active_record_1
2940
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2941
+ Completed 204 No Content in 4ms (ActiveRecord: 0.1ms)
2942
+  (0.1ms) rollback transaction
2943
+  (0.1ms) begin transaction
2944
+ ------------------------------------------------------
2945
+ Blogy::PostsControllerTest: test_0004_should show post
2946
+ ------------------------------------------------------
2947
+ Processing by Blogy::PostsController#show as JSON
2948
+ Parameters: {"id"=>"1011"}
2949
+ Completed 200 OK in 2ms (Views: 0.5ms | ActiveRecord: 0.0ms)
2950
+  (0.1ms) rollback transaction
2951
+  (0.1ms) begin transaction
2952
+ ---------------------------------------------------------
2953
+ Blogy::PostsControllerTest: test_0007_should destroy post
2954
+ ---------------------------------------------------------
2955
+ Processing by Blogy::PostsController#destroy as JSON
2956
+ Parameters: {"id"=>"1012"}
2957
+ Completed 204 No Content in 2ms (ActiveRecord: 0.0ms)
2958
+  (0.1ms) rollback transaction
2959
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
2960
+  (0.1ms) begin transaction
2961
+ ---------------------------------------------------------
2962
+ Blogy::PostsControllerTest: test_0007_should destroy post
2963
+ ---------------------------------------------------------
2964
+ Processing by Blogy::PostsController#destroy as JSON
2965
+ Parameters: {"id"=>"1001"}
2966
+ Blogy::Post Load (0.6ms) SELECT "blogy_posts".* FROM "blogy_posts" INNER JOIN "blogy_post_translations" ON "blogy_post_translations"."blogy_post_id" = "blogy_posts"."id" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1001]]
2967
+ Completed 404 Not Found in 25ms
2968
+  (0.1ms) rollback transaction
2969
+  (0.1ms) begin transaction
2970
+ ----------------------------------------------------
2971
+ Blogy::PostsControllerTest: test_0002_should get new
2972
+ ----------------------------------------------------
2973
+ Processing by Blogy::PostsController#new as JSON
2974
+ Completed 200 OK in 18ms (Views: 1.4ms | ActiveRecord: 0.0ms)
2975
+  (0.1ms) rollback transaction
2976
+  (0.1ms) begin transaction
2977
+ -----------------------------------------------------
2978
+ Blogy::PostsControllerTest: test_0005_should get edit
2979
+ -----------------------------------------------------
2980
+ Processing by Blogy::PostsController#edit as JSON
2981
+ Parameters: {"id"=>"1003"}
2982
+ Blogy::Post Load (0.1ms) SELECT "blogy_posts".* FROM "blogy_posts" INNER JOIN "blogy_post_translations" ON "blogy_post_translations"."blogy_post_id" = "blogy_posts"."id" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1003]]
2983
+ Completed 404 Not Found in 2ms
2984
+  (0.1ms) rollback transaction
2985
+  (0.1ms) begin transaction
2986
+ --------------------------------------------------------
2987
+ Blogy::PostsControllerTest: test_0006_should update post
2988
+ --------------------------------------------------------
2989
+ Processing by Blogy::PostsController#update as JSON
2990
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}, "id"=>"1004"}
2991
+ Blogy::Post Load (0.1ms) SELECT "blogy_posts".* FROM "blogy_posts" INNER JOIN "blogy_post_translations" ON "blogy_post_translations"."blogy_post_id" = "blogy_posts"."id" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1004]]
2992
+ Completed 404 Not Found in 2ms
2993
+  (0.1ms) rollback transaction
2994
+  (0.1ms) begin transaction
2995
+ --------------------------------------------------------
2996
+ Blogy::PostsControllerTest: test_0003_should create post
2997
+ --------------------------------------------------------
2998
+ Processing by Blogy::PostsController#create as JSON
2999
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}}
3000
+ Completed 201 Created in 15ms (Views: 6.9ms | ActiveRecord: 0.0ms)
3001
+  (0.1ms) rollback transaction
3002
+  (0.1ms) begin transaction
3003
+ ------------------------------------------------------
3004
+ Blogy::PostsControllerTest: test_0004_should show post
3005
+ ------------------------------------------------------
3006
+ Processing by Blogy::PostsController#show as JSON
3007
+ Parameters: {"id"=>"1006"}
3008
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts" INNER JOIN "blogy_post_translations" ON "blogy_post_translations"."blogy_post_id" = "blogy_posts"."id" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1006]]
3009
+ Completed 404 Not Found in 2ms
3010
+  (0.1ms) rollback transaction
3011
+  (0.1ms) begin transaction
3012
+ ------------------------------------------------------
3013
+ Blogy::PostsControllerTest: test_0001_should get index
3014
+ ------------------------------------------------------
3015
+ Processing by Blogy::PostsController#index as JSON
3016
+ Blogy::Post Load (3.3ms) SELECT "blogy_posts".* FROM "blogy_posts" INNER JOIN "blogy_post_translations" ON "blogy_post_translations"."blogy_post_id" = "blogy_posts"."id"
3017
+ Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 3.2ms)
3018
+  (0.1ms) rollback transaction
3019
+  (0.1ms) begin transaction
3020
+ ------------------------------------------------------------------
3021
+ Blogy::Post::TranslationTest: test_0002_decide which format to use
3022
+ ------------------------------------------------------------------
3023
+  (0.1ms) rollback transaction
3024
+  (0.1ms) begin transaction
3025
+ ------------------------------------------------
3026
+ Blogy::Post::TranslationTest: test_0001_is valid
3027
+ ------------------------------------------------
3028
+  (0.1ms) rollback transaction
3029
+  (0.1ms) begin transaction
3030
+ ---------------------------------------------------------------------------
3031
+ Blogy::Post::TranslationTest: test_0003_show up text, when text is selected
3032
+ ---------------------------------------------------------------------------
3033
+  (0.1ms) rollback transaction
3034
+  (0.2ms) begin transaction
3035
+ --------------------------
3036
+ BlogyTest: test_0001_truth
3037
+ --------------------------
3038
+  (0.1ms) rollback transaction
3039
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
3040
+  (0.1ms) begin transaction
3041
+ ------------------------------------------------------
3042
+ Blogy::PostsControllerTest: test_0001_should get index
3043
+ ------------------------------------------------------
3044
+ Processing by Blogy::PostsController#index as JSON
3045
+ Blogy::Post Load (0.5ms) SELECT "blogy_posts".* FROM "blogy_posts" INNER JOIN "blogy_post_translations" ON "blogy_post_translations"."blogy_post_id" = "blogy_posts"."id"
3046
+ Completed 200 OK in 27ms (Views: 12.7ms | ActiveRecord: 0.5ms)
3047
+  (0.1ms) rollback transaction
3048
+  (0.1ms) begin transaction
3049
+ ----------------------------------------------------
3050
+ Blogy::PostsControllerTest: test_0002_should get new
3051
+ ----------------------------------------------------
3052
+ Processing by Blogy::PostsController#new as JSON
3053
+ Completed 200 OK in 17ms (Views: 1.0ms | ActiveRecord: 0.0ms)
3054
+  (0.1ms) rollback transaction
3055
+  (0.1ms) begin transaction
3056
+ ---------------------------------------------------------
3057
+ Blogy::PostsControllerTest: test_0007_should destroy post
3058
+ ---------------------------------------------------------
3059
+ Processing by Blogy::PostsController#destroy as JSON
3060
+ Parameters: {"id"=>"1003"}
3061
+ Blogy::Post Load (0.6ms) SELECT "blogy_posts".* FROM "blogy_posts" INNER JOIN "blogy_post_translations" ON "blogy_post_translations"."blogy_post_id" = "blogy_posts"."id" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1003]]
3062
+ Completed 404 Not Found in 36ms
3063
+  (0.1ms) rollback transaction
3064
+  (0.1ms) begin transaction
3065
+ --------------------------------------------------------
3066
+ Blogy::PostsControllerTest: test_0003_should create post
3067
+ --------------------------------------------------------
3068
+ Processing by Blogy::PostsController#create as JSON
3069
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}}
3070
+ Completed 201 Created in 14ms (Views: 8.3ms | ActiveRecord: 0.0ms)
3071
+  (0.2ms) rollback transaction
3072
+  (0.1ms) begin transaction
3073
+ -----------------------------------------------------
3074
+ Blogy::PostsControllerTest: test_0005_should get edit
3075
+ -----------------------------------------------------
3076
+ Processing by Blogy::PostsController#edit as JSON
3077
+ Parameters: {"id"=>"1005"}
3078
+ Blogy::Post Load (0.1ms) SELECT "blogy_posts".* FROM "blogy_posts" INNER JOIN "blogy_post_translations" ON "blogy_post_translations"."blogy_post_id" = "blogy_posts"."id" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1005]]
3079
+ Completed 404 Not Found in 2ms
3080
+  (0.1ms) rollback transaction
3081
+  (0.1ms) begin transaction
3082
+ ------------------------------------------------------
3083
+ Blogy::PostsControllerTest: test_0004_should show post
3084
+ ------------------------------------------------------
3085
+ Processing by Blogy::PostsController#show as JSON
3086
+ Parameters: {"id"=>"1006"}
3087
+ Blogy::Post Load (0.1ms) SELECT "blogy_posts".* FROM "blogy_posts" INNER JOIN "blogy_post_translations" ON "blogy_post_translations"."blogy_post_id" = "blogy_posts"."id" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1006]]
3088
+ Completed 404 Not Found in 7ms
3089
+  (0.1ms) rollback transaction
3090
+  (0.1ms) begin transaction
3091
+ --------------------------------------------------------
3092
+ Blogy::PostsControllerTest: test_0006_should update post
3093
+ --------------------------------------------------------
3094
+ Processing by Blogy::PostsController#update as JSON
3095
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}, "id"=>"1007"}
3096
+ Blogy::Post Load (0.1ms) SELECT "blogy_posts".* FROM "blogy_posts" INNER JOIN "blogy_post_translations" ON "blogy_post_translations"."blogy_post_id" = "blogy_posts"."id" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1007]]
3097
+ Completed 404 Not Found in 2ms
3098
+  (0.1ms) rollback transaction
3099
+  (0.1ms) begin transaction
3100
+ --------------------------
3101
+ BlogyTest: test_0001_truth
3102
+ --------------------------
3103
+  (0.0ms) rollback transaction
3104
+  (0.1ms) begin transaction
3105
+ ------------------------------------------------
3106
+ Blogy::Post::TranslationTest: test_0001_is valid
3107
+ ------------------------------------------------
3108
+  (0.1ms) rollback transaction
3109
+  (0.1ms) begin transaction
3110
+ ------------------------------------------------------------------
3111
+ Blogy::Post::TranslationTest: test_0002_decide which format to use
3112
+ ------------------------------------------------------------------
3113
+  (0.1ms) rollback transaction
3114
+  (0.1ms) begin transaction
3115
+ ---------------------------------------------------------------------------
3116
+ Blogy::Post::TranslationTest: test_0003_show up text, when text is selected
3117
+ ---------------------------------------------------------------------------
3118
+  (0.1ms) rollback transaction
3119
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
3120
+  (0.1ms) begin transaction
3121
+ --------------------------
3122
+ BlogyTest: test_0001_truth
3123
+ --------------------------
3124
+  (0.0ms) rollback transaction
3125
+  (0.1ms) begin transaction
3126
+ --------------------------------------------------------
3127
+ Blogy::PostsControllerTest: test_0006_should update post
3128
+ --------------------------------------------------------
3129
+ Processing by Blogy::PostsController#update as JSON
3130
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}, "id"=>"1001"}
3131
+ Completed 500 Internal Server Error in 1ms
3132
+  (0.1ms) rollback transaction
3133
+  (0.1ms) begin transaction
3134
+ ----------------------------------------------------
3135
+ Blogy::PostsControllerTest: test_0002_should get new
3136
+ ----------------------------------------------------
3137
+ Processing by Blogy::PostsController#new as JSON
3138
+ Completed 200 OK in 17ms (Views: 0.9ms | ActiveRecord: 0.0ms)
3139
+  (0.1ms) rollback transaction
3140
+  (0.1ms) begin transaction
3141
+ ------------------------------------------------------
3142
+ Blogy::PostsControllerTest: test_0004_should show post
3143
+ ------------------------------------------------------
3144
+ Processing by Blogy::PostsController#show as JSON
3145
+ Parameters: {"id"=>"1003"}
3146
+ Completed 500 Internal Server Error in 1ms
3147
+  (0.1ms) rollback transaction
3148
+  (0.1ms) begin transaction
3149
+ --------------------------------------------------------
3150
+ Blogy::PostsControllerTest: test_0003_should create post
3151
+ --------------------------------------------------------
3152
+ Processing by Blogy::PostsController#create as JSON
3153
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}}
3154
+ Completed 201 Created in 14ms (Views: 8.1ms | ActiveRecord: 0.0ms)
3155
+  (0.1ms) rollback transaction
3156
+  (0.1ms) begin transaction
3157
+ -----------------------------------------------------
3158
+ Blogy::PostsControllerTest: test_0005_should get edit
3159
+ -----------------------------------------------------
3160
+ Processing by Blogy::PostsController#edit as JSON
3161
+ Parameters: {"id"=>"1005"}
3162
+ Completed 500 Internal Server Error in 0ms
3163
+  (0.1ms) rollback transaction
3164
+  (0.3ms) begin transaction
3165
+ ------------------------------------------------------
3166
+ Blogy::PostsControllerTest: test_0001_should get index
3167
+ ------------------------------------------------------
3168
+ Processing by Blogy::PostsController#index as JSON
3169
+ Blogy::Post Load (0.6ms) SELECT "blogy_posts".* FROM "blogy_posts" INNER JOIN "blogy_post_translations" ON "blogy_post_translations"."blogy_post_id" = "blogy_posts"."id"
3170
+ Completed 200 OK in 18ms (Views: 15.3ms | ActiveRecord: 0.6ms)
3171
+  (0.1ms) rollback transaction
3172
+  (0.1ms) begin transaction
3173
+ ---------------------------------------------------------
3174
+ Blogy::PostsControllerTest: test_0007_should destroy post
3175
+ ---------------------------------------------------------
3176
+ Processing by Blogy::PostsController#destroy as JSON
3177
+ Parameters: {"id"=>"1007"}
3178
+ Completed 500 Internal Server Error in 1ms
3179
+  (0.1ms) rollback transaction
3180
+  (0.1ms) begin transaction
3181
+ ------------------------------------------------
3182
+ Blogy::Post::TranslationTest: test_0001_is valid
3183
+ ------------------------------------------------
3184
+  (0.1ms) rollback transaction
3185
+  (0.1ms) begin transaction
3186
+ ------------------------------------------------------------------
3187
+ Blogy::Post::TranslationTest: test_0002_decide which format to use
3188
+ ------------------------------------------------------------------
3189
+  (0.1ms) rollback transaction
3190
+  (0.1ms) begin transaction
3191
+ ---------------------------------------------------------------------------
3192
+ Blogy::Post::TranslationTest: test_0003_show up text, when text is selected
3193
+ ---------------------------------------------------------------------------
3194
+  (0.1ms) rollback transaction
3195
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
3196
+  (0.1ms) begin transaction
3197
+ --------------------------
3198
+ BlogyTest: test_0001_truth
3199
+ --------------------------
3200
+  (0.0ms) rollback transaction
3201
+  (0.1ms) begin transaction
3202
+ -----------------------------------------------------
3203
+ Blogy::PostsControllerTest: test_0005_should get edit
3204
+ -----------------------------------------------------
3205
+ Processing by Blogy::PostsController#edit as JSON
3206
+ Parameters: {"id"=>"1001"}
3207
+ Blogy::Post Load (0.8ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1001]]
3208
+ Completed 404 Not Found in 11ms
3209
+  (0.1ms) rollback transaction
3210
+  (0.1ms) begin transaction
3211
+ --------------------------------------------------------
3212
+ Blogy::PostsControllerTest: test_0003_should create post
3213
+ --------------------------------------------------------
3214
+ Processing by Blogy::PostsController#create as JSON
3215
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}}
3216
+ Completed 201 Created in 25ms (Views: 7.2ms | ActiveRecord: 0.0ms)
3217
+  (0.1ms) rollback transaction
3218
+  (0.1ms) begin transaction
3219
+ ---------------------------------------------------------
3220
+ Blogy::PostsControllerTest: test_0007_should destroy post
3221
+ ---------------------------------------------------------
3222
+ Processing by Blogy::PostsController#destroy as JSON
3223
+ Parameters: {"id"=>"1003"}
3224
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1003]]
3225
+ Completed 404 Not Found in 2ms
3226
+  (0.1ms) rollback transaction
3227
+  (0.1ms) begin transaction
3228
+ --------------------------------------------------------
3229
+ Blogy::PostsControllerTest: test_0006_should update post
3230
+ --------------------------------------------------------
3231
+ Processing by Blogy::PostsController#update as JSON
3232
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}, "id"=>"1004"}
3233
+ Blogy::Post Load (0.1ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1004]]
3234
+ Completed 404 Not Found in 1ms
3235
+  (0.1ms) rollback transaction
3236
+  (0.1ms) begin transaction
3237
+ ----------------------------------------------------
3238
+ Blogy::PostsControllerTest: test_0002_should get new
3239
+ ----------------------------------------------------
3240
+ Processing by Blogy::PostsController#new as JSON
3241
+ Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.0ms)
3242
+  (0.1ms) rollback transaction
3243
+  (0.1ms) begin transaction
3244
+ ------------------------------------------------------
3245
+ Blogy::PostsControllerTest: test_0004_should show post
3246
+ ------------------------------------------------------
3247
+ Processing by Blogy::PostsController#show as JSON
3248
+ Parameters: {"id"=>"1006"}
3249
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1006]]
3250
+ Completed 404 Not Found in 2ms
3251
+  (0.1ms) rollback transaction
3252
+  (0.1ms) begin transaction
3253
+ ------------------------------------------------------
3254
+ Blogy::PostsControllerTest: test_0001_should get index
3255
+ ------------------------------------------------------
3256
+ Processing by Blogy::PostsController#index as JSON
3257
+ Blogy::Post Load (0.7ms) SELECT "blogy_posts".* FROM "blogy_posts" INNER JOIN "blogy_post_translations" ON "blogy_post_translations"."blogy_post_id" = "blogy_posts"."id"
3258
+ Completed 200 OK in 28ms (Views: 23.2ms | ActiveRecord: 0.7ms)
3259
+  (0.1ms) rollback transaction
3260
+  (0.1ms) begin transaction
3261
+ ---------------------------------------------------------------------------
3262
+ Blogy::Post::TranslationTest: test_0003_show up text, when text is selected
3263
+ ---------------------------------------------------------------------------
3264
+  (0.1ms) rollback transaction
3265
+  (0.1ms) begin transaction
3266
+ ------------------------------------------------------------------
3267
+ Blogy::Post::TranslationTest: test_0002_decide which format to use
3268
+ ------------------------------------------------------------------
3269
+  (0.1ms) rollback transaction
3270
+  (0.1ms) begin transaction
3271
+ ------------------------------------------------
3272
+ Blogy::Post::TranslationTest: test_0001_is valid
3273
+ ------------------------------------------------
3274
+  (0.1ms) rollback transaction
3275
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
3276
+  (0.1ms) begin transaction
3277
+ --------------------------
3278
+ BlogyTest: test_0001_truth
3279
+ --------------------------
3280
+  (0.1ms) rollback transaction
3281
+  (0.1ms) begin transaction
3282
+ ----------------------------------------------------
3283
+ Blogy::PostsControllerTest: test_0002_should get new
3284
+ ----------------------------------------------------
3285
+ Processing by Blogy::PostsController#new as JSON
3286
+ Completed 200 OK in 17ms (Views: 0.8ms | ActiveRecord: 0.0ms)
3287
+  (0.1ms) rollback transaction
3288
+  (0.1ms) begin transaction
3289
+ ------------------------------------------------------
3290
+ Blogy::PostsControllerTest: test_0004_should show post
3291
+ ------------------------------------------------------
3292
+ Processing by Blogy::PostsController#show as JSON
3293
+ Parameters: {"id"=>"1002"}
3294
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.0ms)
3295
+  (0.1ms) rollback transaction
3296
+  (0.1ms) begin transaction
3297
+ --------------------------------------------------------
3298
+ Blogy::PostsControllerTest: test_0006_should update post
3299
+ --------------------------------------------------------
3300
+ Processing by Blogy::PostsController#update as JSON
3301
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}, "id"=>"1003"}
3302
+  (1.2ms) SAVEPOINT active_record_1
3303
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
3304
+ Completed 204 No Content in 8ms (ActiveRecord: 1.3ms)
3305
+  (0.1ms) rollback transaction
3306
+  (0.1ms) begin transaction
3307
+ -----------------------------------------------------
3308
+ Blogy::PostsControllerTest: test_0005_should get edit
3309
+ -----------------------------------------------------
3310
+ Processing by Blogy::PostsController#edit as JSON
3311
+ Parameters: {"id"=>"1004"}
3312
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.0ms)
3313
+  (0.1ms) rollback transaction
3314
+  (0.1ms) begin transaction
3315
+ ------------------------------------------------------
3316
+ Blogy::PostsControllerTest: test_0001_should get index
3317
+ ------------------------------------------------------
3318
+ Processing by Blogy::PostsController#index as JSON
3319
+ Blogy::Post Load (0.7ms) SELECT "blogy_posts".* FROM "blogy_posts" INNER JOIN "blogy_post_translations" ON "blogy_post_translations"."blogy_post_id" = "blogy_posts"."id"
3320
+ Completed 200 OK in 19ms (Views: 15.8ms | ActiveRecord: 0.7ms)
3321
+  (0.1ms) rollback transaction
3322
+  (0.1ms) begin transaction
3323
+ --------------------------------------------------------
3324
+ Blogy::PostsControllerTest: test_0003_should create post
3325
+ --------------------------------------------------------
3326
+ Processing by Blogy::PostsController#create as JSON
3327
+ Parameters: {"blogy/post"=>{"draft"=>false, "ilustration"=>nil, "published"=>true}}
3328
+ Completed 201 Created in 9ms (Views: 6.0ms | ActiveRecord: 0.0ms)
3329
+  (1.3ms) rollback transaction
3330
+  (0.2ms) begin transaction
3331
+ ---------------------------------------------------------
3332
+ Blogy::PostsControllerTest: test_0007_should destroy post
3333
+ ---------------------------------------------------------
3334
+ Processing by Blogy::PostsController#destroy as JSON
3335
+ Parameters: {"id"=>"1007"}
3336
+ Completed 204 No Content in 2ms (ActiveRecord: 0.0ms)
3337
+  (0.1ms) rollback transaction
3338
+  (0.1ms) begin transaction
3339
+ ------------------------------------------------
3340
+ Blogy::Post::TranslationTest: test_0001_is valid
3341
+ ------------------------------------------------
3342
+  (0.2ms) rollback transaction
3343
+  (0.1ms) begin transaction
3344
+ ------------------------------------------------------------------
3345
+ Blogy::Post::TranslationTest: test_0002_decide which format to use
3346
+ ------------------------------------------------------------------
3347
+  (0.1ms) rollback transaction
3348
+  (0.1ms) begin transaction
3349
+ ---------------------------------------------------------------------------
3350
+ Blogy::Post::TranslationTest: test_0003_show up text, when text is selected
3351
+ ---------------------------------------------------------------------------
3352
+  (0.1ms) rollback transaction