blogy 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/controllers/blogy/posts_controller.rb +3 -3
- data/app/models/blogy/post.rb +4 -4
- data/app/models/blogy/post/translation.rb +33 -1
- data/db/migrate/20150216204624_add_document_document_tmp_remote_storage_format_to_blogy_post_translations.rb +9 -0
- data/lib/blogy/engine.rb +4 -0
- data/lib/blogy/version.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +6 -1
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +3536 -0
- data/test/dummy/log/test.log +2042 -0
- data/test/models/blogy/post/translation_test.rb +23 -3
- data/test/support/factories.rb +8 -0
- metadata +47 -3
- data/README.rdoc +0 -3
data/test/dummy/log/test.log
CHANGED
@@ -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
|
[1m[35m (0.1ms)[0m rollback transaction
|
1311
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1312
|
+
[1m[36m (5.1ms)[0m [1mCREATE 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) [0m
|
1313
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
1314
|
+
[1m[36m (2.1ms)[0m [1mCREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")[0m
|
1315
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (1.3ms)[0m [1mCREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")[0m
|
1324
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1m 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
|
+
[0m
|
1340
|
+
[1m[35m (1.3ms)[0m CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
|
1341
|
+
[1m[36m (1.0ms)[0m [1mCREATE 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) [0m
|
1342
|
+
[1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
1343
|
+
[1m[36m (2.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1344
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
1345
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150216204624')[0m
|
1346
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1347
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1348
|
+
Migrating to CreateBlogyPosts (20150211002506)
|
1349
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1350
|
+
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1353
|
+
[1m[36m (2.6ms)[0m [1mCREATE 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) [0m
|
1354
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
1355
|
+
[1m[36m (1.7ms)[0m [1mCREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")[0m
|
1356
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (3.0ms)[0m [1mCREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")[0m
|
1365
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (2.3ms)[0m [1m 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
|
+
[0m
|
1381
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
|
1382
|
+
[1m[36m (0.8ms)[0m [1mCREATE 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) [0m
|
1383
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
1384
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1385
|
+
[1m[35m (0.2ms)[0m SELECT version FROM "schema_migrations"
|
1386
|
+
[1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150216204624')[0m
|
1387
|
+
[1m[35m (1.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20150211002506')
|
1388
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150211205643')[0m
|
1389
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1390
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1391
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1398
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1399
|
+
Completed 204 No Content in 26ms (ActiveRecord: 0.2ms)
|
1400
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1401
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1409
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1417
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1424
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1432
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1440
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1441
|
+
------------------------------------------------------
|
1442
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
1443
|
+
------------------------------------------------------
|
1444
|
+
Processing by Blogy::PostsController#index as JSON
|
1445
|
+
[1m[36mBlogy::Post Load (0.2ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts"[0m
|
1446
|
+
Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)
|
1447
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
1448
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1449
|
+
--------------------------
|
1450
|
+
BlogyTest: test_0001_truth
|
1451
|
+
--------------------------
|
1452
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1453
|
+
[1m[36m (2.1ms)[0m [1mbegin transaction[0m
|
1454
|
+
------------------------------------------------
|
1455
|
+
Blogy::Post::TranslationTest: test_0001_is valid
|
1456
|
+
------------------------------------------------
|
1457
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1458
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1459
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1460
|
+
------------------------------------------------
|
1461
|
+
Blogy::Post::TranslationTest: test_0001_is valid
|
1462
|
+
------------------------------------------------
|
1463
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1464
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1465
|
+
--------------------------
|
1466
|
+
BlogyTest: test_0001_truth
|
1467
|
+
--------------------------
|
1468
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1469
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1477
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1485
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1493
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1501
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1508
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1509
|
+
Completed 204 No Content in 5ms (ActiveRecord: 0.2ms)
|
1510
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1511
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1512
|
+
------------------------------------------------------
|
1513
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
1514
|
+
------------------------------------------------------
|
1515
|
+
Processing by Blogy::PostsController#index as JSON
|
1516
|
+
[1m[36mBlogy::Post Load (0.2ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts"[0m
|
1517
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
1518
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1519
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1526
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1527
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1528
|
+
------------------------------------------------
|
1529
|
+
Blogy::Post::TranslationTest: test_0001_is valid
|
1530
|
+
------------------------------------------------
|
1531
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1532
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1533
|
+
--------------------------
|
1534
|
+
BlogyTest: test_0001_truth
|
1535
|
+
--------------------------
|
1536
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1537
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1544
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1545
|
+
Completed 204 No Content in 16ms (ActiveRecord: 0.2ms)
|
1546
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1547
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1555
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1562
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1563
|
+
------------------------------------------------------
|
1564
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
1565
|
+
------------------------------------------------------
|
1566
|
+
Processing by Blogy::PostsController#index as JSON
|
1567
|
+
[1m[36mBlogy::Post Load (0.2ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts"[0m
|
1568
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)
|
1569
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1570
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1578
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1586
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1594
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1595
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1596
|
+
------------------------------------------------
|
1597
|
+
Blogy::Post::TranslationTest: test_0001_is valid
|
1598
|
+
------------------------------------------------
|
1599
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1600
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1601
|
+
----------------------------------------------------
|
1602
|
+
Blogy::PostsControllerTest: test_0002_should get new
|
1603
|
+
----------------------------------------------------
|
1604
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1605
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1606
|
+
------------------------------------------------------
|
1607
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
1608
|
+
------------------------------------------------------
|
1609
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1610
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1611
|
+
--------------------------------------------------------
|
1612
|
+
Blogy::PostsControllerTest: test_0003_should create post
|
1613
|
+
--------------------------------------------------------
|
1614
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1615
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1616
|
+
-----------------------------------------------------
|
1617
|
+
Blogy::PostsControllerTest: test_0005_should get edit
|
1618
|
+
-----------------------------------------------------
|
1619
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1620
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1621
|
+
--------------------------------------------------------
|
1622
|
+
Blogy::PostsControllerTest: test_0006_should update post
|
1623
|
+
--------------------------------------------------------
|
1624
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1625
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1626
|
+
------------------------------------------------------
|
1627
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
1628
|
+
------------------------------------------------------
|
1629
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1630
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1631
|
+
---------------------------------------------------------
|
1632
|
+
Blogy::PostsControllerTest: test_0007_should destroy post
|
1633
|
+
---------------------------------------------------------
|
1634
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1635
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1636
|
+
--------------------------
|
1637
|
+
BlogyTest: test_0001_truth
|
1638
|
+
--------------------------
|
1639
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1640
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1641
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1642
|
+
--------------------------
|
1643
|
+
BlogyTest: test_0001_truth
|
1644
|
+
--------------------------
|
1645
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1646
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1647
|
+
------------------------------------------------
|
1648
|
+
Blogy::Post::TranslationTest: test_0001_is valid
|
1649
|
+
------------------------------------------------
|
1650
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1651
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1658
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1659
|
+
Completed 204 No Content in 16ms (ActiveRecord: 0.1ms)
|
1660
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1661
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1669
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1677
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1684
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1692
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1700
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1701
|
+
------------------------------------------------------
|
1702
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
1703
|
+
------------------------------------------------------
|
1704
|
+
Processing by Blogy::PostsController#index as JSON
|
1705
|
+
[1m[36mBlogy::Post Load (0.2ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts"[0m
|
1706
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
1707
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1708
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1709
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1717
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1724
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1732
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1739
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1740
|
+
Completed 204 No Content in 4ms (ActiveRecord: 0.2ms)
|
1741
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1742
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1750
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1758
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1759
|
+
------------------------------------------------------
|
1760
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
1761
|
+
------------------------------------------------------
|
1762
|
+
Processing by Blogy::PostsController#index as JSON
|
1763
|
+
[1m[36mBlogy::Post Load (0.2ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts"[0m
|
1764
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
1765
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1766
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1767
|
+
--------------------------
|
1768
|
+
BlogyTest: test_0001_truth
|
1769
|
+
--------------------------
|
1770
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1771
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1772
|
+
------------------------------------------------
|
1773
|
+
Blogy::Post::TranslationTest: test_0001_is valid
|
1774
|
+
------------------------------------------------
|
1775
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1776
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1777
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1778
|
+
------------------------------------------------------
|
1779
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
1780
|
+
------------------------------------------------------
|
1781
|
+
Processing by Blogy::PostsController#index as JSON
|
1782
|
+
[1m[36mBlogy::Post Load (0.2ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts"[0m
|
1783
|
+
Completed 200 OK in 16ms (Views: 0.9ms | ActiveRecord: 0.2ms)
|
1784
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1785
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1792
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1793
|
+
Completed 204 No Content in 7ms (ActiveRecord: 0.2ms)
|
1794
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1795
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1803
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1811
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1819
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1826
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1834
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1835
|
+
--------------------------
|
1836
|
+
BlogyTest: test_0001_truth
|
1837
|
+
--------------------------
|
1838
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1839
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1840
|
+
------------------------------------------------------------------
|
1841
|
+
Blogy::Post::TranslationTest: test_0002_decide which format to use
|
1842
|
+
------------------------------------------------------------------
|
1843
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1844
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1845
|
+
------------------------------------------------
|
1846
|
+
Blogy::Post::TranslationTest: test_0001_is valid
|
1847
|
+
------------------------------------------------
|
1848
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1849
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1850
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1851
|
+
------------------------------------------------
|
1852
|
+
Blogy::Post::TranslationTest: test_0001_is valid
|
1853
|
+
------------------------------------------------
|
1854
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1855
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1856
|
+
------------------------------------------------------------------
|
1857
|
+
Blogy::Post::TranslationTest: test_0002_decide which format to use
|
1858
|
+
------------------------------------------------------------------
|
1859
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1860
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1861
|
+
--------------------------
|
1862
|
+
BlogyTest: test_0001_truth
|
1863
|
+
--------------------------
|
1864
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1865
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1866
|
+
------------------------------------------------------
|
1867
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
1868
|
+
------------------------------------------------------
|
1869
|
+
Processing by Blogy::PostsController#index as JSON
|
1870
|
+
[1m[36mBlogy::Post Load (0.2ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts"[0m
|
1871
|
+
Completed 200 OK in 14ms (Views: 1.1ms | ActiveRecord: 0.2ms)
|
1872
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1873
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1880
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1881
|
+
Completed 204 No Content in 4ms (ActiveRecord: 0.1ms)
|
1882
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1883
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1891
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1898
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1906
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1914
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1922
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1923
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1924
|
+
------------------------------------------------
|
1925
|
+
Blogy::Post::TranslationTest: test_0001_is valid
|
1926
|
+
------------------------------------------------
|
1927
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1928
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1929
|
+
---------------------------------------------------------------------------
|
1930
|
+
Blogy::Post::TranslationTest: test_0003_show up text, when text is selected
|
1931
|
+
---------------------------------------------------------------------------
|
1932
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1933
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1934
|
+
------------------------------------------------------------------
|
1935
|
+
Blogy::Post::TranslationTest: test_0002_decide which format to use
|
1936
|
+
------------------------------------------------------------------
|
1937
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1938
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1946
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1953
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1954
|
+
Completed 204 No Content in 4ms (ActiveRecord: 0.1ms)
|
1955
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1956
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1964
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1971
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1979
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1980
|
+
------------------------------------------------------
|
1981
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
1982
|
+
------------------------------------------------------
|
1983
|
+
Processing by Blogy::PostsController#index as JSON
|
1984
|
+
[1m[36mBlogy::Post Load (0.2ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts"[0m
|
1985
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
1986
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1987
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1995
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1996
|
+
--------------------------
|
1997
|
+
BlogyTest: test_0001_truth
|
1998
|
+
--------------------------
|
1999
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2000
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2001
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2002
|
+
------------------------------------------------------
|
2003
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
2004
|
+
------------------------------------------------------
|
2005
|
+
Processing by Blogy::PostsController#index as JSON
|
2006
|
+
[1m[36mBlogy::Post Load (0.4ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts"[0m
|
2007
|
+
Completed 200 OK in 17ms (Views: 1.4ms | ActiveRecord: 0.4ms)
|
2008
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2009
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2017
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2025
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2032
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2040
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2048
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2055
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2056
|
+
Completed 204 No Content in 4ms (ActiveRecord: 0.1ms)
|
2057
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2058
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2059
|
+
--------------------------
|
2060
|
+
BlogyTest: test_0001_truth
|
2061
|
+
--------------------------
|
2062
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2063
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2064
|
+
------------------------------------------------
|
2065
|
+
Blogy::Post::TranslationTest: test_0001_is valid
|
2066
|
+
------------------------------------------------
|
2067
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2068
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2069
|
+
---------------------------------------------------------------------------
|
2070
|
+
Blogy::Post::TranslationTest: test_0003_show up text, when text is selected
|
2071
|
+
---------------------------------------------------------------------------
|
2072
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2073
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2074
|
+
------------------------------------------------------------------
|
2075
|
+
Blogy::Post::TranslationTest: test_0002_decide which format to use
|
2076
|
+
------------------------------------------------------------------
|
2077
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2078
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.9ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2079
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
2080
|
+
Migrating to AddDocumentDocumentTmpRemoteContentTypeFormatToBlogyPostTranslations (20150216204624)
|
2081
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2082
|
+
[1m[35m (8.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2091
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2107
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
2108
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")[0m
|
2109
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
|
2110
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")[0m
|
2111
|
+
[1m[35m (0.5ms)[0m SELECT * FROM "blogy_post_translations"
|
2112
|
+
[1m[36m (1.7ms)[0m [1mDROP TABLE "blogy_post_translations"[0m
|
2113
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2122
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2138
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
|
2139
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2147
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
|
2148
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2156
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")[0m
|
2165
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ablogy_post_translations"
|
2166
|
+
[1m[36m (0.8ms)[0m [1mDROP TABLE "ablogy_post_translations"[0m
|
2167
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2176
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2192
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")
|
2193
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")[0m
|
2194
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")
|
2195
|
+
[1m[36m (0.2ms)[0m [1mSELECT * FROM "blogy_post_translations"[0m
|
2196
|
+
[1m[35m (1.1ms)[0m DROP TABLE "blogy_post_translations"
|
2197
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
2198
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2214
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")[0m
|
2223
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")[0m
|
2232
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2248
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
|
2249
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ablogy_post_translations"[0m
|
2250
|
+
[1m[35m (0.2ms)[0m DROP TABLE "ablogy_post_translations"
|
2251
|
+
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
2252
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2268
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")[0m
|
2277
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
|
2278
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")[0m
|
2279
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "blogy_post_translations"
|
2280
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "blogy_post_translations"[0m
|
2281
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2290
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2306
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
|
2307
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2315
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
|
2316
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2324
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")[0m
|
2333
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ablogy_post_translations"
|
2334
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "ablogy_post_translations"[0m
|
2335
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2344
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2360
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")
|
2361
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")[0m
|
2362
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")
|
2363
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "blogy_post_translations"[0m
|
2364
|
+
[1m[35m (0.3ms)[0m DROP TABLE "blogy_post_translations"
|
2365
|
+
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
2366
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2382
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")[0m
|
2391
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")[0m
|
2400
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2416
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
|
2417
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "ablogy_post_translations"[0m
|
2418
|
+
[1m[35m (0.2ms)[0m DROP TABLE "ablogy_post_translations"
|
2419
|
+
[1m[36m (0.2ms)[0m [1mCREATE 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) [0m
|
2420
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2436
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")[0m
|
2445
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
|
2446
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")[0m
|
2447
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "blogy_post_translations"
|
2448
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "blogy_post_translations"[0m
|
2449
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2458
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2474
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
|
2475
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2483
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
|
2484
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2492
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")[0m
|
2501
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "ablogy_post_translations"
|
2502
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "ablogy_post_translations"[0m
|
2503
|
+
[1m[35mSQL (1.3ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20150216204624"]]
|
2504
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
2505
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
2506
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2514
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2530
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2531
|
+
Migrating to AddDocumentDocumentTmpRemoteTypeFormatToBlogyPostTranslations (20150216204624)
|
2532
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2533
|
+
[1m[36m (0.7ms)[0m [1mALTER TABLE "blogy_post_translations" ADD "document" varchar[0m
|
2534
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "blogy_post_translations" ADD "document_tmp" varchar
|
2535
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "blogy_post_translations" ADD "remote" varchar[0m
|
2536
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "blogy_post_translations" ADD "type" varchar
|
2537
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "blogy_post_translations" ADD "format" varchar[0m
|
2538
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150216204624"]]
|
2539
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
2540
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
2541
|
+
[1m[36m (0.2ms)[0m [1m 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
|
+
[0m
|
2549
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2565
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2566
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2567
|
+
--------------------------
|
2568
|
+
BlogyTest: test_0001_truth
|
2569
|
+
--------------------------
|
2570
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2571
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2579
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2586
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2587
|
+
Completed 204 No Content in 4ms (ActiveRecord: 0.2ms)
|
2588
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2589
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2597
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2605
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2613
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2620
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2621
|
+
------------------------------------------------------
|
2622
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
2623
|
+
------------------------------------------------------
|
2624
|
+
Processing by Blogy::PostsController#index as JSON
|
2625
|
+
[1m[36mBlogy::Post Load (1.0ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts"[0m
|
2626
|
+
Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 1.0ms)
|
2627
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2628
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2629
|
+
------------------------------------------------
|
2630
|
+
Blogy::Post::TranslationTest: test_0001_is valid
|
2631
|
+
------------------------------------------------
|
2632
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2633
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2634
|
+
------------------------------------------------------------------
|
2635
|
+
Blogy::Post::TranslationTest: test_0002_decide which format to use
|
2636
|
+
------------------------------------------------------------------
|
2637
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2638
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2639
|
+
---------------------------------------------------------------------------
|
2640
|
+
Blogy::Post::TranslationTest: test_0003_show up text, when text is selected
|
2641
|
+
---------------------------------------------------------------------------
|
2642
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2643
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2644
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2660
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mActiveRecord::SchemaMigration Load (1.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2669
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2685
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2694
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
2702
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mSAVEPOINT active_record_1[0m
|
2709
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
2710
|
+
Completed 204 No Content in 8ms (ActiveRecord: 0.6ms)
|
2711
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2712
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2713
|
+
------------------------------------------------------
|
2714
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
2715
|
+
------------------------------------------------------
|
2716
|
+
Processing by Blogy::PostsController#index as JSON
|
2717
|
+
[1m[36mBlogy::Post Load (0.6ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts"[0m
|
2718
|
+
Completed 200 OK in 3ms (Views: 0.8ms | ActiveRecord: 0.6ms)
|
2719
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2720
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2728
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2735
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2743
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2751
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2752
|
+
--------------------------
|
2753
|
+
BlogyTest: test_0001_truth
|
2754
|
+
--------------------------
|
2755
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2756
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2757
|
+
------------------------------------------------
|
2758
|
+
Blogy::Post::TranslationTest: test_0001_is valid
|
2759
|
+
------------------------------------------------
|
2760
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2761
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2762
|
+
------------------------------------------------------------------
|
2763
|
+
Blogy::Post::TranslationTest: test_0002_decide which format to use
|
2764
|
+
------------------------------------------------------------------
|
2765
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2766
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2767
|
+
---------------------------------------------------------------------------
|
2768
|
+
Blogy::Post::TranslationTest: test_0003_show up text, when text is selected
|
2769
|
+
---------------------------------------------------------------------------
|
2770
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2771
|
+
[1m[36m (1.6ms)[0m [1mCREATE 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) [0m
|
2772
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
2773
|
+
[1m[36m (1.4ms)[0m [1mCREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")[0m
|
2774
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (1.3ms)[0m [1mCREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")[0m
|
2783
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2799
|
+
[1m[35m (1.0ms)[0m CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
|
2800
|
+
[1m[36m (1.3ms)[0m [1mCREATE 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) [0m
|
2801
|
+
[1m[35m (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)
|
2802
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2803
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
2804
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20150216204624')[0m
|
2805
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2806
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
2807
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
2808
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
2809
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
2810
|
+
Migrating to CreateBlogyPosts (20150211002506)
|
2811
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2812
|
+
[1m[35m (0.7ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150211002506"]]
|
2814
|
+
[1m[35m (1.2ms)[0m commit transaction
|
2815
|
+
Migrating to CreateBlogyPostTranslations (20150211205643)
|
2816
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2817
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")[0m
|
2819
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")[0m
|
2828
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2844
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
|
2845
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150211205643"]]
|
2846
|
+
[1m[35m (1.3ms)[0m commit transaction
|
2847
|
+
Migrating to AddDocumentDocumentTmpRemoteStorageFormatToBlogyPostTranslations (20150216204624)
|
2848
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2849
|
+
[1m[35m (0.8ms)[0m ALTER TABLE "blogy_post_translations" ADD "document" varchar
|
2850
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "blogy_post_translations" ADD "document_tmp" varchar[0m
|
2851
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "blogy_post_translations" ADD "remote" varchar
|
2852
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "blogy_post_translations" ADD "storage" varchar[0m
|
2853
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "blogy_post_translations" ADD "format" varchar
|
2854
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150216204624"]]
|
2855
|
+
[1m[35m (1.2ms)[0m commit transaction
|
2856
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2857
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1m 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
|
+
[0m
|
2873
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2882
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2883
|
+
--------------------------
|
2884
|
+
BlogyTest: test_0001_truth
|
2885
|
+
--------------------------
|
2886
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2887
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2888
|
+
------------------------------------------------
|
2889
|
+
Blogy::Post::TranslationTest: test_0001_is valid
|
2890
|
+
------------------------------------------------
|
2891
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2892
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2893
|
+
------------------------------------------------------------------
|
2894
|
+
Blogy::Post::TranslationTest: test_0002_decide which format to use
|
2895
|
+
------------------------------------------------------------------
|
2896
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2897
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2898
|
+
---------------------------------------------------------------------------
|
2899
|
+
Blogy::Post::TranslationTest: test_0003_show up text, when text is selected
|
2900
|
+
---------------------------------------------------------------------------
|
2901
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2902
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2903
|
+
------------------------------------------------------
|
2904
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
2905
|
+
------------------------------------------------------
|
2906
|
+
Processing by Blogy::PostsController#index as JSON
|
2907
|
+
[1m[36mBlogy::Post Load (0.2ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts"[0m
|
2908
|
+
Completed 200 OK in 15ms (Views: 0.8ms | ActiveRecord: 0.2ms)
|
2909
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2910
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2918
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2925
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2933
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2940
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
2941
|
+
Completed 204 No Content in 4ms (ActiveRecord: 0.1ms)
|
2942
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2943
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2951
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2959
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
2960
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mBlogy::Post Load (0.6ms)[0m [1mSELECT "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[0m [["id", 1001]]
|
2967
|
+
Completed 404 Not Found in 25ms
|
2968
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2969
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2976
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2977
|
+
-----------------------------------------------------
|
2978
|
+
Blogy::PostsControllerTest: test_0005_should get edit
|
2979
|
+
-----------------------------------------------------
|
2980
|
+
Processing by Blogy::PostsController#edit as JSON
|
2981
|
+
Parameters: {"id"=>"1003"}
|
2982
|
+
[1m[35mBlogy::Post Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2985
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mBlogy::Post Load (0.1ms)[0m [1mSELECT "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[0m [["id", 1004]]
|
2992
|
+
Completed 404 Not Found in 2ms
|
2993
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2994
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3002
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3003
|
+
------------------------------------------------------
|
3004
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
3005
|
+
------------------------------------------------------
|
3006
|
+
Processing by Blogy::PostsController#show as JSON
|
3007
|
+
Parameters: {"id"=>"1006"}
|
3008
|
+
[1m[35mBlogy::Post Load (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3011
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3012
|
+
------------------------------------------------------
|
3013
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
3014
|
+
------------------------------------------------------
|
3015
|
+
Processing by Blogy::PostsController#index as JSON
|
3016
|
+
[1m[36mBlogy::Post Load (3.3ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts" INNER JOIN "blogy_post_translations" ON "blogy_post_translations"."blogy_post_id" = "blogy_posts"."id"[0m
|
3017
|
+
Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 3.2ms)
|
3018
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3019
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3020
|
+
------------------------------------------------------------------
|
3021
|
+
Blogy::Post::TranslationTest: test_0002_decide which format to use
|
3022
|
+
------------------------------------------------------------------
|
3023
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3024
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3025
|
+
------------------------------------------------
|
3026
|
+
Blogy::Post::TranslationTest: test_0001_is valid
|
3027
|
+
------------------------------------------------
|
3028
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3029
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3030
|
+
---------------------------------------------------------------------------
|
3031
|
+
Blogy::Post::TranslationTest: test_0003_show up text, when text is selected
|
3032
|
+
---------------------------------------------------------------------------
|
3033
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3034
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
3035
|
+
--------------------------
|
3036
|
+
BlogyTest: test_0001_truth
|
3037
|
+
--------------------------
|
3038
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3039
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3040
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3041
|
+
------------------------------------------------------
|
3042
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
3043
|
+
------------------------------------------------------
|
3044
|
+
Processing by Blogy::PostsController#index as JSON
|
3045
|
+
[1m[36mBlogy::Post Load (0.5ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts" INNER JOIN "blogy_post_translations" ON "blogy_post_translations"."blogy_post_id" = "blogy_posts"."id"[0m
|
3046
|
+
Completed 200 OK in 27ms (Views: 12.7ms | ActiveRecord: 0.5ms)
|
3047
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3048
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3055
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3056
|
+
---------------------------------------------------------
|
3057
|
+
Blogy::PostsControllerTest: test_0007_should destroy post
|
3058
|
+
---------------------------------------------------------
|
3059
|
+
Processing by Blogy::PostsController#destroy as JSON
|
3060
|
+
Parameters: {"id"=>"1003"}
|
3061
|
+
[1m[35mBlogy::Post Load (0.6ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3064
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
3072
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mBlogy::Post Load (0.1ms)[0m [1mSELECT "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[0m [["id", 1005]]
|
3079
|
+
Completed 404 Not Found in 2ms
|
3080
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3081
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3082
|
+
------------------------------------------------------
|
3083
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
3084
|
+
------------------------------------------------------
|
3085
|
+
Processing by Blogy::PostsController#show as JSON
|
3086
|
+
Parameters: {"id"=>"1006"}
|
3087
|
+
[1m[35mBlogy::Post Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3090
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mBlogy::Post Load (0.1ms)[0m [1mSELECT "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[0m [["id", 1007]]
|
3097
|
+
Completed 404 Not Found in 2ms
|
3098
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3099
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3100
|
+
--------------------------
|
3101
|
+
BlogyTest: test_0001_truth
|
3102
|
+
--------------------------
|
3103
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3104
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3105
|
+
------------------------------------------------
|
3106
|
+
Blogy::Post::TranslationTest: test_0001_is valid
|
3107
|
+
------------------------------------------------
|
3108
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3109
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3110
|
+
------------------------------------------------------------------
|
3111
|
+
Blogy::Post::TranslationTest: test_0002_decide which format to use
|
3112
|
+
------------------------------------------------------------------
|
3113
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3114
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3115
|
+
---------------------------------------------------------------------------
|
3116
|
+
Blogy::Post::TranslationTest: test_0003_show up text, when text is selected
|
3117
|
+
---------------------------------------------------------------------------
|
3118
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3119
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3120
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3121
|
+
--------------------------
|
3122
|
+
BlogyTest: test_0001_truth
|
3123
|
+
--------------------------
|
3124
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3125
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3133
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3140
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3148
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3156
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3164
|
+
[1m[35m (0.3ms)[0m begin transaction
|
3165
|
+
------------------------------------------------------
|
3166
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
3167
|
+
------------------------------------------------------
|
3168
|
+
Processing by Blogy::PostsController#index as JSON
|
3169
|
+
[1m[36mBlogy::Post Load (0.6ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts" INNER JOIN "blogy_post_translations" ON "blogy_post_translations"."blogy_post_id" = "blogy_posts"."id"[0m
|
3170
|
+
Completed 200 OK in 18ms (Views: 15.3ms | ActiveRecord: 0.6ms)
|
3171
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3172
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3180
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3181
|
+
------------------------------------------------
|
3182
|
+
Blogy::Post::TranslationTest: test_0001_is valid
|
3183
|
+
------------------------------------------------
|
3184
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3185
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3186
|
+
------------------------------------------------------------------
|
3187
|
+
Blogy::Post::TranslationTest: test_0002_decide which format to use
|
3188
|
+
------------------------------------------------------------------
|
3189
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3190
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3191
|
+
---------------------------------------------------------------------------
|
3192
|
+
Blogy::Post::TranslationTest: test_0003_show up text, when text is selected
|
3193
|
+
---------------------------------------------------------------------------
|
3194
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3195
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3196
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3197
|
+
--------------------------
|
3198
|
+
BlogyTest: test_0001_truth
|
3199
|
+
--------------------------
|
3200
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3201
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mBlogy::Post Load (0.8ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1[0m [["id", 1001]]
|
3208
|
+
Completed 404 Not Found in 11ms
|
3209
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3210
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3218
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3219
|
+
---------------------------------------------------------
|
3220
|
+
Blogy::PostsControllerTest: test_0007_should destroy post
|
3221
|
+
---------------------------------------------------------
|
3222
|
+
Processing by Blogy::PostsController#destroy as JSON
|
3223
|
+
Parameters: {"id"=>"1003"}
|
3224
|
+
[1m[35mBlogy::Post Load (0.2ms)[0m SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1003]]
|
3225
|
+
Completed 404 Not Found in 2ms
|
3226
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3227
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mBlogy::Post Load (0.1ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1[0m [["id", 1004]]
|
3234
|
+
Completed 404 Not Found in 1ms
|
3235
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3236
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3243
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3244
|
+
------------------------------------------------------
|
3245
|
+
Blogy::PostsControllerTest: test_0004_should show post
|
3246
|
+
------------------------------------------------------
|
3247
|
+
Processing by Blogy::PostsController#show as JSON
|
3248
|
+
Parameters: {"id"=>"1006"}
|
3249
|
+
[1m[35mBlogy::Post Load (0.2ms)[0m SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1006]]
|
3250
|
+
Completed 404 Not Found in 2ms
|
3251
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3252
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3253
|
+
------------------------------------------------------
|
3254
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
3255
|
+
------------------------------------------------------
|
3256
|
+
Processing by Blogy::PostsController#index as JSON
|
3257
|
+
[1m[36mBlogy::Post Load (0.7ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts" INNER JOIN "blogy_post_translations" ON "blogy_post_translations"."blogy_post_id" = "blogy_posts"."id"[0m
|
3258
|
+
Completed 200 OK in 28ms (Views: 23.2ms | ActiveRecord: 0.7ms)
|
3259
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3260
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3261
|
+
---------------------------------------------------------------------------
|
3262
|
+
Blogy::Post::TranslationTest: test_0003_show up text, when text is selected
|
3263
|
+
---------------------------------------------------------------------------
|
3264
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3265
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3266
|
+
------------------------------------------------------------------
|
3267
|
+
Blogy::Post::TranslationTest: test_0002_decide which format to use
|
3268
|
+
------------------------------------------------------------------
|
3269
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3270
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3271
|
+
------------------------------------------------
|
3272
|
+
Blogy::Post::TranslationTest: test_0001_is valid
|
3273
|
+
------------------------------------------------
|
3274
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3275
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.6ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
3276
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3277
|
+
--------------------------
|
3278
|
+
BlogyTest: test_0001_truth
|
3279
|
+
--------------------------
|
3280
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3281
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3288
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3296
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (1.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
3303
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
3304
|
+
Completed 204 No Content in 8ms (ActiveRecord: 1.3ms)
|
3305
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3306
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3314
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3315
|
+
------------------------------------------------------
|
3316
|
+
Blogy::PostsControllerTest: test_0001_should get index
|
3317
|
+
------------------------------------------------------
|
3318
|
+
Processing by Blogy::PostsController#index as JSON
|
3319
|
+
[1m[36mBlogy::Post Load (0.7ms)[0m [1mSELECT "blogy_posts".* FROM "blogy_posts" INNER JOIN "blogy_post_translations" ON "blogy_post_translations"."blogy_post_id" = "blogy_posts"."id"[0m
|
3320
|
+
Completed 200 OK in 19ms (Views: 15.8ms | ActiveRecord: 0.7ms)
|
3321
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3322
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (1.3ms)[0m rollback transaction
|
3330
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
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
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3338
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3339
|
+
------------------------------------------------
|
3340
|
+
Blogy::Post::TranslationTest: test_0001_is valid
|
3341
|
+
------------------------------------------------
|
3342
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
3343
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3344
|
+
------------------------------------------------------------------
|
3345
|
+
Blogy::Post::TranslationTest: test_0002_decide which format to use
|
3346
|
+
------------------------------------------------------------------
|
3347
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3348
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3349
|
+
---------------------------------------------------------------------------
|
3350
|
+
Blogy::Post::TranslationTest: test_0003_show up text, when text is selected
|
3351
|
+
---------------------------------------------------------------------------
|
3352
|
+
[1m[35m (0.1ms)[0m rollback transaction
|