restful_controller 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/restful/base.rb +1 -1
- data/lib/restful/version.rb +1 -1
- data/test/actions_definition_test.rb +22 -2
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +1956 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 52641134615fbf575cc84a2c5dd01d21d588f0dc
|
4
|
+
data.tar.gz: 0009f1fe93f75fb8501a93c45325a868a0d35305
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9d2852e445651b25ad97530b64d6f739c99f095fc30eae4445d032c96c1f8b0e1ebcf1a1179c52b16ac787f8a13be5d5784bcec7131bdecfdaa872c86341f366
|
7
|
+
data.tar.gz: fdb30c0d779c8a8030157b42b3bd3eaf7509ec294cafbc8616fbe3b018b1a555215ed025ce341c7ba4fdb1ceebfe5532a881f87bff39ec634656780eddfedc7f
|
data/lib/restful/base.rb
CHANGED
data/lib/restful/version.rb
CHANGED
@@ -63,14 +63,14 @@ describe 'Actions definition' do
|
|
63
63
|
it 'have listed actions but except actions' do
|
64
64
|
##
|
65
65
|
# Controller class for tests
|
66
|
-
class
|
66
|
+
class HandPickWithExceptionActionsController < BaseController
|
67
67
|
respond_to :html
|
68
68
|
restful model: :document,
|
69
69
|
actions: [:index, :show, :destroy,
|
70
70
|
except: [:edit, :update, :destroy]]
|
71
71
|
end
|
72
72
|
|
73
|
-
subject =
|
73
|
+
subject = HandPickWithExceptionActionsController.new
|
74
74
|
|
75
75
|
subject.must_respond_to :index
|
76
76
|
subject.must_respond_to :show
|
@@ -81,6 +81,26 @@ describe 'Actions definition' do
|
|
81
81
|
subject.wont_respond_to :destroy
|
82
82
|
end
|
83
83
|
|
84
|
+
it 'have listed actions' do
|
85
|
+
##
|
86
|
+
# Controller class for tests
|
87
|
+
class HandPickActionsController < BaseController
|
88
|
+
respond_to :html
|
89
|
+
restful model: :document,
|
90
|
+
actions: [:index, :show, :destroy]
|
91
|
+
end
|
92
|
+
|
93
|
+
subject = HandPickActionsController.new
|
94
|
+
|
95
|
+
subject.must_respond_to :index
|
96
|
+
subject.must_respond_to :show
|
97
|
+
subject.must_respond_to :destroy
|
98
|
+
subject.wont_respond_to :edit
|
99
|
+
subject.wont_respond_to :update
|
100
|
+
subject.wont_respond_to :new
|
101
|
+
subject.wont_respond_to :create
|
102
|
+
end
|
103
|
+
|
84
104
|
it 'have invalid actions listed' do
|
85
105
|
##
|
86
106
|
# Controller class for tests
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -87480,6 +87480,1962 @@ Completed 200 OK in 4ms (Views: 1.3ms | ActiveRecord: 0.2ms)
|
|
87480
87480
|
---------------------------------------------------------------------------------
|
87481
87481
|
DocumentsController::base actions::update: test_0003_raise exception on not found
|
87482
87482
|
---------------------------------------------------------------------------------
|
87483
|
+
Processing by DocumentsController#update as HTML
|
87484
|
+
Parameters: {"id"=>"1"}
|
87485
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
87486
|
+
Completed 404 Not Found in 1ms
|
87487
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87488
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
87489
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87490
|
+
[1m[36mFixture Delete (0.5ms)[0m [1mDELETE FROM "documents"[0m
|
87491
|
+
[1m[35mFixture Insert (0.4ms)[0m INSERT INTO "documents" ("id", "name", "created_at", "updated_at") VALUES (100, 'Sample document', '2013-08-06 17:42:47', '2013-08-06 17:42:47')
|
87492
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
87493
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87494
|
+
---------------------------------------------------------------
|
87495
|
+
AlternatesController::base actions::create: test_0001_redirects
|
87496
|
+
---------------------------------------------------------------
|
87497
|
+
Processing by AlternatesController#create as HTML
|
87498
|
+
Parameters: {"document"=>{"name"=>"New document"}}
|
87499
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87500
|
+
[1m[35mSQL (1.9ms)[0m INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Aug 2013 17:42:47 UTC +00:00], ["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:42:47 UTC +00:00]]
|
87501
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87502
|
+
Redirected to http://test.host/documents
|
87503
|
+
Completed 302 Found in 52ms (ActiveRecord: 2.0ms)
|
87504
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
87505
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87506
|
+
--------------------------------------------------------------------
|
87507
|
+
AlternatesController::base actions::create: test_0002_display errors
|
87508
|
+
--------------------------------------------------------------------
|
87509
|
+
Processing by AlternatesController#create as HTML
|
87510
|
+
Parameters: {"document"=>{"name"=>""}}
|
87511
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87512
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
87513
|
+
Completed 200 OK in 22ms (Views: 15.6ms | ActiveRecord: 0.1ms)
|
87514
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87515
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87516
|
+
----------------------------------------------------------------
|
87517
|
+
AlternatesController::base actions::destroy: test_0001_redirects
|
87518
|
+
----------------------------------------------------------------
|
87519
|
+
Processing by AlternatesController#destroy as HTML
|
87520
|
+
Parameters: {"id"=>"100"}
|
87521
|
+
[1m[35mDocument Load (0.2ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
87522
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87523
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "documents" WHERE "documents"."id" = ? [["id", 100]]
|
87524
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87525
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87526
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87527
|
+
Redirected to http://test.host/documents
|
87528
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
87529
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
87530
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87531
|
+
-----------------------------------------------------------------------------------
|
87532
|
+
AlternatesController::base actions::destroy: test_0002_raise exception on not found
|
87533
|
+
-----------------------------------------------------------------------------------
|
87534
|
+
Processing by AlternatesController#destroy as HTML
|
87535
|
+
Parameters: {"id"=>"1"}
|
87536
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
87537
|
+
Completed 404 Not Found in 1ms
|
87538
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87539
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87540
|
+
---------------------------------------------------------------
|
87541
|
+
AlternatesController::base actions::edit: test_0001_render form
|
87542
|
+
---------------------------------------------------------------
|
87543
|
+
Processing by AlternatesController#edit as HTML
|
87544
|
+
Parameters: {"id"=>"100"}
|
87545
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
87546
|
+
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
|
87547
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87548
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87549
|
+
--------------------------------------------------------------------------------
|
87550
|
+
AlternatesController::base actions::edit: test_0002_raise exception on not found
|
87551
|
+
--------------------------------------------------------------------------------
|
87552
|
+
Processing by AlternatesController#edit as HTML
|
87553
|
+
Parameters: {"id"=>"1"}
|
87554
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
87555
|
+
Completed 404 Not Found in 1ms
|
87556
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87557
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87558
|
+
----------------------------------------------------------------
|
87559
|
+
AlternatesController::base actions::index: test_0001_render list
|
87560
|
+
----------------------------------------------------------------
|
87561
|
+
Processing by AlternatesController#index as HTML
|
87562
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("documents"."updated_at") AS max_id FROM "documents"[0m
|
87563
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents"
|
87564
|
+
Completed 200 OK in 4ms (Views: 2.4ms | ActiveRecord: 0.2ms)
|
87565
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87566
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87567
|
+
--------------------------------------------------------------
|
87568
|
+
AlternatesController::base actions::new: test_0001_render form
|
87569
|
+
--------------------------------------------------------------
|
87570
|
+
Processing by AlternatesController#new as HTML
|
87571
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
87572
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87573
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87574
|
+
---------------------------------------------------------------
|
87575
|
+
AlternatesController::base actions::show: test_0001_render view
|
87576
|
+
---------------------------------------------------------------
|
87577
|
+
Processing by AlternatesController#show as HTML
|
87578
|
+
Parameters: {"id"=>"100"}
|
87579
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
87580
|
+
Completed 200 OK in 3ms (Views: 2.2ms | ActiveRecord: 0.1ms)
|
87581
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87582
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87583
|
+
--------------------------------------------------------------------------------
|
87584
|
+
AlternatesController::base actions::show: test_0002_raise exception on not found
|
87585
|
+
--------------------------------------------------------------------------------
|
87586
|
+
Processing by AlternatesController#show as HTML
|
87587
|
+
Parameters: {"id"=>"1"}
|
87588
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
87589
|
+
Completed 404 Not Found in 1ms
|
87590
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87591
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87592
|
+
---------------------------------------------------------------
|
87593
|
+
AlternatesController::base actions::update: test_0001_redirects
|
87594
|
+
---------------------------------------------------------------
|
87595
|
+
Processing by AlternatesController#update as HTML
|
87596
|
+
Parameters: {"document"=>{"name"=>"New document"}, "id"=>"100"}
|
87597
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
87598
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87599
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100[0m [["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:42:47 UTC +00:00]]
|
87600
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
87601
|
+
Redirected to http://test.host/documents
|
87602
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
|
87603
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
87604
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87605
|
+
--------------------------------------------------------------------
|
87606
|
+
AlternatesController::base actions::update: test_0002_display errors
|
87607
|
+
--------------------------------------------------------------------
|
87608
|
+
Processing by AlternatesController#update as HTML
|
87609
|
+
Parameters: {"document"=>{"name"=>""}, "id"=>"100"}
|
87610
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
87611
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87612
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
87613
|
+
Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.2ms)
|
87614
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87615
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87616
|
+
----------------------------------------------------------------------------------
|
87617
|
+
AlternatesController::base actions::update: test_0003_raise exception on not found
|
87618
|
+
----------------------------------------------------------------------------------
|
87619
|
+
Processing by AlternatesController#update as HTML
|
87620
|
+
Parameters: {"id"=>"1"}
|
87621
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
87622
|
+
Completed 404 Not Found in 1ms
|
87623
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87624
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87625
|
+
--------------------------------------------------
|
87626
|
+
BlocksController: test_0001_has one response block
|
87627
|
+
--------------------------------------------------
|
87628
|
+
Processing by BlocksController#create as HTML
|
87629
|
+
Parameters: {"document"=>{"name"=>"Sample"}}
|
87630
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87631
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Aug 2013 17:42:47 UTC +00:00], ["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:42:47 UTC +00:00]]
|
87632
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87633
|
+
Redirected to http://test.host/
|
87634
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
87635
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
87636
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87637
|
+
----------------------------------------------------------------
|
87638
|
+
BlocksController: test_0002_has two response blocks with success
|
87639
|
+
----------------------------------------------------------------
|
87640
|
+
Processing by BlocksController#update as HTML
|
87641
|
+
Parameters: {"document"=>{"name"=>"Sample"}, "id"=>"100"}
|
87642
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
87643
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87644
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:42:47 UTC +00:00]]
|
87645
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87646
|
+
Redirected to http://test.host/
|
87647
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
87648
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
87649
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87650
|
+
----------------------------------------------------------------
|
87651
|
+
BlocksController: test_0003_has two response blocks with failire
|
87652
|
+
----------------------------------------------------------------
|
87653
|
+
Processing by BlocksController#update as HTML
|
87654
|
+
Parameters: {"document"=>{"name"=>""}, "id"=>"100"}
|
87655
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
87656
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87657
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
87658
|
+
Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.2ms)
|
87659
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87660
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87661
|
+
---------------------------------------------------------------
|
87662
|
+
CustomNoticesController::flash messages: test_0001_has a notice
|
87663
|
+
---------------------------------------------------------------
|
87664
|
+
Processing by CustomNoticesController#create as HTML
|
87665
|
+
Parameters: {"document"=>{"name"=>"Sample"}}
|
87666
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87667
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Aug 2013 17:42:47 UTC +00:00], ["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:42:47 UTC +00:00]]
|
87668
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87669
|
+
Redirected to http://test.host/
|
87670
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
87671
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
87672
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87673
|
+
---------------------------------------------------------------
|
87674
|
+
CustomNoticesController::flash messages: test_0002_has an alert
|
87675
|
+
---------------------------------------------------------------
|
87676
|
+
Processing by CustomNoticesController#update as HTML
|
87677
|
+
Parameters: {"document"=>{"name"=>"Sample"}, "id"=>"100"}
|
87678
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
87679
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87680
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:42:47 UTC +00:00]]
|
87681
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87682
|
+
Redirected to http://test.host/
|
87683
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
87684
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
87685
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87686
|
+
--------------------------------------------------------------
|
87687
|
+
DocumentsController::base actions::create: test_0001_redirects
|
87688
|
+
--------------------------------------------------------------
|
87689
|
+
Processing by DocumentsController#create as HTML
|
87690
|
+
Parameters: {"document"=>{"name"=>"New document"}}
|
87691
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87692
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 06 Aug 2013 17:42:47 UTC +00:00], ["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:42:47 UTC +00:00]]
|
87693
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87694
|
+
Redirected to http://test.host/documents
|
87695
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
87696
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
87697
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87698
|
+
-------------------------------------------------------------------
|
87699
|
+
DocumentsController::base actions::create: test_0002_display errors
|
87700
|
+
-------------------------------------------------------------------
|
87701
|
+
Processing by DocumentsController#create as HTML
|
87702
|
+
Parameters: {"document"=>{"name"=>""}}
|
87703
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87704
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
87705
|
+
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.1ms)
|
87706
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87707
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87708
|
+
---------------------------------------------------------------
|
87709
|
+
DocumentsController::base actions::destroy: test_0001_redirects
|
87710
|
+
---------------------------------------------------------------
|
87711
|
+
Processing by DocumentsController#destroy as HTML
|
87712
|
+
Parameters: {"id"=>"100"}
|
87713
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
87714
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87715
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "documents" WHERE "documents"."id" = ?[0m [["id", 100]]
|
87716
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87717
|
+
Redirected to http://test.host/documents
|
87718
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
87719
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
87720
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87721
|
+
----------------------------------------------------------------------------------
|
87722
|
+
DocumentsController::base actions::destroy: test_0002_raise exception on not found
|
87723
|
+
----------------------------------------------------------------------------------
|
87724
|
+
Processing by DocumentsController#destroy as HTML
|
87725
|
+
Parameters: {"id"=>"1"}
|
87726
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
87727
|
+
Completed 404 Not Found in 1ms
|
87728
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87729
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87730
|
+
--------------------------------------------------------------
|
87731
|
+
DocumentsController::base actions::edit: test_0001_render form
|
87732
|
+
--------------------------------------------------------------
|
87733
|
+
Processing by DocumentsController#edit as HTML
|
87734
|
+
Parameters: {"id"=>"100"}
|
87735
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
87736
|
+
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)
|
87737
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87738
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87739
|
+
-------------------------------------------------------------------------------
|
87740
|
+
DocumentsController::base actions::edit: test_0002_raise exception on not found
|
87741
|
+
-------------------------------------------------------------------------------
|
87742
|
+
Processing by DocumentsController#edit as HTML
|
87743
|
+
Parameters: {"id"=>"1"}
|
87744
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
87745
|
+
Completed 404 Not Found in 1ms
|
87746
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87747
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87748
|
+
---------------------------------------------------------------
|
87749
|
+
DocumentsController::base actions::index: test_0001_render list
|
87750
|
+
---------------------------------------------------------------
|
87751
|
+
Processing by DocumentsController#index as HTML
|
87752
|
+
[1m[35m (0.1ms)[0m SELECT MAX("documents"."updated_at") AS max_id FROM "documents"
|
87753
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents"[0m
|
87754
|
+
Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.2ms)
|
87755
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87756
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87757
|
+
-------------------------------------------------------------
|
87758
|
+
DocumentsController::base actions::new: test_0001_render form
|
87759
|
+
-------------------------------------------------------------
|
87760
|
+
Processing by DocumentsController#new as HTML
|
87761
|
+
Completed 200 OK in 35ms (Views: 34.4ms | ActiveRecord: 0.0ms)
|
87762
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87763
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87764
|
+
--------------------------------------------------------------
|
87765
|
+
DocumentsController::base actions::show: test_0001_render view
|
87766
|
+
--------------------------------------------------------------
|
87767
|
+
Processing by DocumentsController#show as HTML
|
87768
|
+
Parameters: {"id"=>"100"}
|
87769
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
87770
|
+
Completed 200 OK in 3ms (Views: 1.1ms | ActiveRecord: 0.1ms)
|
87771
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87772
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87773
|
+
-------------------------------------------------------------------------------
|
87774
|
+
DocumentsController::base actions::show: test_0002_raise exception on not found
|
87775
|
+
-------------------------------------------------------------------------------
|
87776
|
+
Processing by DocumentsController#show as HTML
|
87777
|
+
Parameters: {"id"=>"1"}
|
87778
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
87779
|
+
Completed 404 Not Found in 1ms
|
87780
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87781
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87782
|
+
--------------------------------------------------------------
|
87783
|
+
DocumentsController::base actions::update: test_0001_redirects
|
87784
|
+
--------------------------------------------------------------
|
87785
|
+
Processing by DocumentsController#update as HTML
|
87786
|
+
Parameters: {"document"=>{"name"=>"New document"}, "id"=>"100"}
|
87787
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
87788
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
87789
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:42:47 UTC +00:00]]
|
87790
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87791
|
+
Redirected to http://test.host/documents
|
87792
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
87793
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
87794
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87795
|
+
-------------------------------------------------------------------
|
87796
|
+
DocumentsController::base actions::update: test_0002_display errors
|
87797
|
+
-------------------------------------------------------------------
|
87798
|
+
Processing by DocumentsController#update as HTML
|
87799
|
+
Parameters: {"document"=>{"name"=>""}, "id"=>"100"}
|
87800
|
+
[1m[35mDocument Load (0.2ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
87801
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87802
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
87803
|
+
Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.3ms)
|
87804
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87805
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87806
|
+
---------------------------------------------------------------------------------
|
87807
|
+
DocumentsController::base actions::update: test_0003_raise exception on not found
|
87808
|
+
---------------------------------------------------------------------------------
|
87809
|
+
Processing by DocumentsController#update as HTML
|
87810
|
+
Parameters: {"id"=>"1"}
|
87811
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
87812
|
+
Completed 404 Not Found in 1ms
|
87813
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87814
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
87815
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87816
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "documents"[0m
|
87817
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "name", "created_at", "updated_at") VALUES (100, 'Sample document', '2013-08-06 17:43:28', '2013-08-06 17:43:28')
|
87818
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
87819
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87820
|
+
---------------------------------------------------------------
|
87821
|
+
AlternatesController::base actions::create: test_0001_redirects
|
87822
|
+
---------------------------------------------------------------
|
87823
|
+
Processing by AlternatesController#create as HTML
|
87824
|
+
Parameters: {"document"=>{"name"=>"New document"}}
|
87825
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87826
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Aug 2013 17:43:28 UTC +00:00], ["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:43:28 UTC +00:00]]
|
87827
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87828
|
+
Redirected to http://test.host/documents
|
87829
|
+
Completed 302 Found in 49ms (ActiveRecord: 1.2ms)
|
87830
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
87831
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87832
|
+
--------------------------------------------------------------------
|
87833
|
+
AlternatesController::base actions::create: test_0002_display errors
|
87834
|
+
--------------------------------------------------------------------
|
87835
|
+
Processing by AlternatesController#create as HTML
|
87836
|
+
Parameters: {"document"=>{"name"=>""}}
|
87837
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87838
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
87839
|
+
Completed 200 OK in 18ms (Views: 12.0ms | ActiveRecord: 0.1ms)
|
87840
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87841
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87842
|
+
----------------------------------------------------------------
|
87843
|
+
AlternatesController::base actions::destroy: test_0001_redirects
|
87844
|
+
----------------------------------------------------------------
|
87845
|
+
Processing by AlternatesController#destroy as HTML
|
87846
|
+
Parameters: {"id"=>"100"}
|
87847
|
+
[1m[35mDocument Load (0.2ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
87848
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87849
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "documents" WHERE "documents"."id" = ? [["id", 100]]
|
87850
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87851
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
87852
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87853
|
+
Redirected to http://test.host/documents
|
87854
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
87855
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
87856
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87857
|
+
-----------------------------------------------------------------------------------
|
87858
|
+
AlternatesController::base actions::destroy: test_0002_raise exception on not found
|
87859
|
+
-----------------------------------------------------------------------------------
|
87860
|
+
Processing by AlternatesController#destroy as HTML
|
87861
|
+
Parameters: {"id"=>"1"}
|
87862
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
87863
|
+
Completed 404 Not Found in 1ms
|
87864
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87865
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87866
|
+
---------------------------------------------------------------
|
87867
|
+
AlternatesController::base actions::edit: test_0001_render form
|
87868
|
+
---------------------------------------------------------------
|
87869
|
+
Processing by AlternatesController#edit as HTML
|
87870
|
+
Parameters: {"id"=>"100"}
|
87871
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
87872
|
+
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)
|
87873
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87874
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87875
|
+
--------------------------------------------------------------------------------
|
87876
|
+
AlternatesController::base actions::edit: test_0002_raise exception on not found
|
87877
|
+
--------------------------------------------------------------------------------
|
87878
|
+
Processing by AlternatesController#edit as HTML
|
87879
|
+
Parameters: {"id"=>"1"}
|
87880
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
87881
|
+
Completed 404 Not Found in 1ms
|
87882
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87883
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87884
|
+
----------------------------------------------------------------
|
87885
|
+
AlternatesController::base actions::index: test_0001_render list
|
87886
|
+
----------------------------------------------------------------
|
87887
|
+
Processing by AlternatesController#index as HTML
|
87888
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("documents"."updated_at") AS max_id FROM "documents"[0m
|
87889
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents"
|
87890
|
+
Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.2ms)
|
87891
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87892
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87893
|
+
--------------------------------------------------------------
|
87894
|
+
AlternatesController::base actions::new: test_0001_render form
|
87895
|
+
--------------------------------------------------------------
|
87896
|
+
Processing by AlternatesController#new as HTML
|
87897
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
87898
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87899
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87900
|
+
---------------------------------------------------------------
|
87901
|
+
AlternatesController::base actions::show: test_0001_render view
|
87902
|
+
---------------------------------------------------------------
|
87903
|
+
Processing by AlternatesController#show as HTML
|
87904
|
+
Parameters: {"id"=>"100"}
|
87905
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
87906
|
+
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
87907
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87908
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87909
|
+
--------------------------------------------------------------------------------
|
87910
|
+
AlternatesController::base actions::show: test_0002_raise exception on not found
|
87911
|
+
--------------------------------------------------------------------------------
|
87912
|
+
Processing by AlternatesController#show as HTML
|
87913
|
+
Parameters: {"id"=>"1"}
|
87914
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
87915
|
+
Completed 404 Not Found in 1ms
|
87916
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87917
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87918
|
+
---------------------------------------------------------------
|
87919
|
+
AlternatesController::base actions::update: test_0001_redirects
|
87920
|
+
---------------------------------------------------------------
|
87921
|
+
Processing by AlternatesController#update as HTML
|
87922
|
+
Parameters: {"document"=>{"name"=>"New document"}, "id"=>"100"}
|
87923
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
87924
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87925
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100[0m [["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:43:28 UTC +00:00]]
|
87926
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
87927
|
+
Redirected to http://test.host/documents
|
87928
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
|
87929
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
87930
|
+
[1m[35m (0.1ms)[0m begin transaction
|
87931
|
+
--------------------------------------------------------------------
|
87932
|
+
AlternatesController::base actions::update: test_0002_display errors
|
87933
|
+
--------------------------------------------------------------------
|
87934
|
+
Processing by AlternatesController#update as HTML
|
87935
|
+
Parameters: {"document"=>{"name"=>""}, "id"=>"100"}
|
87936
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
87937
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
87938
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
87939
|
+
Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.2ms)
|
87940
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87941
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87942
|
+
----------------------------------------------------------------------------------
|
87943
|
+
AlternatesController::base actions::update: test_0003_raise exception on not found
|
87944
|
+
----------------------------------------------------------------------------------
|
87945
|
+
Processing by AlternatesController#update as HTML
|
87946
|
+
Parameters: {"id"=>"1"}
|
87947
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
87948
|
+
Completed 404 Not Found in 1ms
|
87949
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87950
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87951
|
+
--------------------------------------------------
|
87952
|
+
BlocksController: test_0001_has one response block
|
87953
|
+
--------------------------------------------------
|
87954
|
+
Processing by BlocksController#create as HTML
|
87955
|
+
Parameters: {"document"=>{"name"=>"Sample"}}
|
87956
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87957
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Aug 2013 17:43:28 UTC +00:00], ["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:43:28 UTC +00:00]]
|
87958
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87959
|
+
Redirected to http://test.host/
|
87960
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.5ms)
|
87961
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
87962
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87963
|
+
----------------------------------------------------------------
|
87964
|
+
BlocksController: test_0002_has two response blocks with success
|
87965
|
+
----------------------------------------------------------------
|
87966
|
+
Processing by BlocksController#update as HTML
|
87967
|
+
Parameters: {"document"=>{"name"=>"Sample"}, "id"=>"100"}
|
87968
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
87969
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87970
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:43:28 UTC +00:00]]
|
87971
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87972
|
+
Redirected to http://test.host/
|
87973
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
87974
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
87975
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87976
|
+
----------------------------------------------------------------
|
87977
|
+
BlocksController: test_0003_has two response blocks with failire
|
87978
|
+
----------------------------------------------------------------
|
87979
|
+
Processing by BlocksController#update as HTML
|
87980
|
+
Parameters: {"document"=>{"name"=>""}, "id"=>"100"}
|
87981
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
87982
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87983
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
87984
|
+
Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.2ms)
|
87985
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
87986
|
+
[1m[35m (0.0ms)[0m begin transaction
|
87987
|
+
---------------------------------------------------------------
|
87988
|
+
CustomNoticesController::flash messages: test_0001_has a notice
|
87989
|
+
---------------------------------------------------------------
|
87990
|
+
Processing by CustomNoticesController#create as HTML
|
87991
|
+
Parameters: {"document"=>{"name"=>"Sample"}}
|
87992
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
87993
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Aug 2013 17:43:28 UTC +00:00], ["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:43:28 UTC +00:00]]
|
87994
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
87995
|
+
Redirected to http://test.host/
|
87996
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
87997
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
87998
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
87999
|
+
---------------------------------------------------------------
|
88000
|
+
CustomNoticesController::flash messages: test_0002_has an alert
|
88001
|
+
---------------------------------------------------------------
|
88002
|
+
Processing by CustomNoticesController#update as HTML
|
88003
|
+
Parameters: {"document"=>{"name"=>"Sample"}, "id"=>"100"}
|
88004
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88005
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88006
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:43:28 UTC +00:00]]
|
88007
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88008
|
+
Redirected to http://test.host/
|
88009
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
88010
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
88011
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88012
|
+
--------------------------------------------------------------
|
88013
|
+
DocumentsController::base actions::create: test_0001_redirects
|
88014
|
+
--------------------------------------------------------------
|
88015
|
+
Processing by DocumentsController#create as HTML
|
88016
|
+
Parameters: {"document"=>{"name"=>"New document"}}
|
88017
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88018
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 06 Aug 2013 17:43:28 UTC +00:00], ["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:43:28 UTC +00:00]]
|
88019
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
88020
|
+
Redirected to http://test.host/documents
|
88021
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
88022
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
88023
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88024
|
+
-------------------------------------------------------------------
|
88025
|
+
DocumentsController::base actions::create: test_0002_display errors
|
88026
|
+
-------------------------------------------------------------------
|
88027
|
+
Processing by DocumentsController#create as HTML
|
88028
|
+
Parameters: {"document"=>{"name"=>""}}
|
88029
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88030
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
88031
|
+
Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.1ms)
|
88032
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88033
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88034
|
+
---------------------------------------------------------------
|
88035
|
+
DocumentsController::base actions::destroy: test_0001_redirects
|
88036
|
+
---------------------------------------------------------------
|
88037
|
+
Processing by DocumentsController#destroy as HTML
|
88038
|
+
Parameters: {"id"=>"100"}
|
88039
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
88040
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88041
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "documents" WHERE "documents"."id" = ?[0m [["id", 100]]
|
88042
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
88043
|
+
Redirected to http://test.host/documents
|
88044
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
88045
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
88046
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88047
|
+
----------------------------------------------------------------------------------
|
88048
|
+
DocumentsController::base actions::destroy: test_0002_raise exception on not found
|
88049
|
+
----------------------------------------------------------------------------------
|
88050
|
+
Processing by DocumentsController#destroy as HTML
|
88051
|
+
Parameters: {"id"=>"1"}
|
88052
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
88053
|
+
Completed 404 Not Found in 1ms
|
88054
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88055
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88056
|
+
--------------------------------------------------------------
|
88057
|
+
DocumentsController::base actions::edit: test_0001_render form
|
88058
|
+
--------------------------------------------------------------
|
88059
|
+
Processing by DocumentsController#edit as HTML
|
88060
|
+
Parameters: {"id"=>"100"}
|
88061
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88062
|
+
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
88063
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88064
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88065
|
+
-------------------------------------------------------------------------------
|
88066
|
+
DocumentsController::base actions::edit: test_0002_raise exception on not found
|
88067
|
+
-------------------------------------------------------------------------------
|
88068
|
+
Processing by DocumentsController#edit as HTML
|
88069
|
+
Parameters: {"id"=>"1"}
|
88070
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
88071
|
+
Completed 404 Not Found in 1ms
|
88072
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88073
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88074
|
+
---------------------------------------------------------------
|
88075
|
+
DocumentsController::base actions::index: test_0001_render list
|
88076
|
+
---------------------------------------------------------------
|
88077
|
+
Processing by DocumentsController#index as HTML
|
88078
|
+
[1m[35m (0.1ms)[0m SELECT MAX("documents"."updated_at") AS max_id FROM "documents"
|
88079
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents"[0m
|
88080
|
+
Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)
|
88081
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88082
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88083
|
+
-------------------------------------------------------------
|
88084
|
+
DocumentsController::base actions::new: test_0001_render form
|
88085
|
+
-------------------------------------------------------------
|
88086
|
+
Processing by DocumentsController#new as HTML
|
88087
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
88088
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88089
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88090
|
+
--------------------------------------------------------------
|
88091
|
+
DocumentsController::base actions::show: test_0001_render view
|
88092
|
+
--------------------------------------------------------------
|
88093
|
+
Processing by DocumentsController#show as HTML
|
88094
|
+
Parameters: {"id"=>"100"}
|
88095
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88096
|
+
Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)
|
88097
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88098
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88099
|
+
-------------------------------------------------------------------------------
|
88100
|
+
DocumentsController::base actions::show: test_0002_raise exception on not found
|
88101
|
+
-------------------------------------------------------------------------------
|
88102
|
+
Processing by DocumentsController#show as HTML
|
88103
|
+
Parameters: {"id"=>"1"}
|
88104
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
88105
|
+
Completed 404 Not Found in 1ms
|
88106
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88107
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88108
|
+
--------------------------------------------------------------
|
88109
|
+
DocumentsController::base actions::update: test_0001_redirects
|
88110
|
+
--------------------------------------------------------------
|
88111
|
+
Processing by DocumentsController#update as HTML
|
88112
|
+
Parameters: {"document"=>{"name"=>"New document"}, "id"=>"100"}
|
88113
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88114
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
88115
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:43:28 UTC +00:00]]
|
88116
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88117
|
+
Redirected to http://test.host/documents
|
88118
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
88119
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
88120
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88121
|
+
-------------------------------------------------------------------
|
88122
|
+
DocumentsController::base actions::update: test_0002_display errors
|
88123
|
+
-------------------------------------------------------------------
|
88124
|
+
Processing by DocumentsController#update as HTML
|
88125
|
+
Parameters: {"document"=>{"name"=>""}, "id"=>"100"}
|
88126
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88127
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
88128
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
88129
|
+
Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.2ms)
|
88130
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88131
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88132
|
+
---------------------------------------------------------------------------------
|
88133
|
+
DocumentsController::base actions::update: test_0003_raise exception on not found
|
88134
|
+
---------------------------------------------------------------------------------
|
88135
|
+
Processing by DocumentsController#update as HTML
|
88136
|
+
Parameters: {"id"=>"1"}
|
88137
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
88138
|
+
Completed 404 Not Found in 1ms
|
88139
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88140
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
88141
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88142
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "documents"[0m
|
88143
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "name", "created_at", "updated_at") VALUES (100, 'Sample document', '2013-08-06 17:43:52', '2013-08-06 17:43:52')
|
88144
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
88145
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88146
|
+
---------------------------------------------------------------
|
88147
|
+
AlternatesController::base actions::create: test_0001_redirects
|
88148
|
+
---------------------------------------------------------------
|
88149
|
+
Processing by AlternatesController#create as HTML
|
88150
|
+
Parameters: {"document"=>{"name"=>"New document"}}
|
88151
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88152
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Aug 2013 17:43:52 UTC +00:00], ["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:43:52 UTC +00:00]]
|
88153
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88154
|
+
Redirected to http://test.host/documents
|
88155
|
+
Completed 302 Found in 52ms (ActiveRecord: 1.2ms)
|
88156
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
88157
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88158
|
+
--------------------------------------------------------------------
|
88159
|
+
AlternatesController::base actions::create: test_0002_display errors
|
88160
|
+
--------------------------------------------------------------------
|
88161
|
+
Processing by AlternatesController#create as HTML
|
88162
|
+
Parameters: {"document"=>{"name"=>""}}
|
88163
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88164
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
88165
|
+
Completed 200 OK in 18ms (Views: 12.2ms | ActiveRecord: 0.1ms)
|
88166
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88167
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88168
|
+
----------------------------------------------------------------
|
88169
|
+
AlternatesController::base actions::destroy: test_0001_redirects
|
88170
|
+
----------------------------------------------------------------
|
88171
|
+
Processing by AlternatesController#destroy as HTML
|
88172
|
+
Parameters: {"id"=>"100"}
|
88173
|
+
[1m[35mDocument Load (0.3ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88174
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88175
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "documents" WHERE "documents"."id" = ? [["id", 100]]
|
88176
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88177
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88178
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88179
|
+
Redirected to http://test.host/documents
|
88180
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.8ms)
|
88181
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
88182
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88183
|
+
-----------------------------------------------------------------------------------
|
88184
|
+
AlternatesController::base actions::destroy: test_0002_raise exception on not found
|
88185
|
+
-----------------------------------------------------------------------------------
|
88186
|
+
Processing by AlternatesController#destroy as HTML
|
88187
|
+
Parameters: {"id"=>"1"}
|
88188
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
88189
|
+
Completed 404 Not Found in 1ms
|
88190
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88191
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88192
|
+
---------------------------------------------------------------
|
88193
|
+
AlternatesController::base actions::edit: test_0001_render form
|
88194
|
+
---------------------------------------------------------------
|
88195
|
+
Processing by AlternatesController#edit as HTML
|
88196
|
+
Parameters: {"id"=>"100"}
|
88197
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
88198
|
+
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)
|
88199
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88200
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88201
|
+
--------------------------------------------------------------------------------
|
88202
|
+
AlternatesController::base actions::edit: test_0002_raise exception on not found
|
88203
|
+
--------------------------------------------------------------------------------
|
88204
|
+
Processing by AlternatesController#edit as HTML
|
88205
|
+
Parameters: {"id"=>"1"}
|
88206
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
88207
|
+
Completed 404 Not Found in 1ms
|
88208
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88209
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88210
|
+
----------------------------------------------------------------
|
88211
|
+
AlternatesController::base actions::index: test_0001_render list
|
88212
|
+
----------------------------------------------------------------
|
88213
|
+
Processing by AlternatesController#index as HTML
|
88214
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("documents"."updated_at") AS max_id FROM "documents"[0m
|
88215
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents"
|
88216
|
+
Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.2ms)
|
88217
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88218
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88219
|
+
--------------------------------------------------------------
|
88220
|
+
AlternatesController::base actions::new: test_0001_render form
|
88221
|
+
--------------------------------------------------------------
|
88222
|
+
Processing by AlternatesController#new as HTML
|
88223
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
88224
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88225
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88226
|
+
---------------------------------------------------------------
|
88227
|
+
AlternatesController::base actions::show: test_0001_render view
|
88228
|
+
---------------------------------------------------------------
|
88229
|
+
Processing by AlternatesController#show as HTML
|
88230
|
+
Parameters: {"id"=>"100"}
|
88231
|
+
[1m[36mDocument Load (0.2ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
88232
|
+
Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms)
|
88233
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88234
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88235
|
+
--------------------------------------------------------------------------------
|
88236
|
+
AlternatesController::base actions::show: test_0002_raise exception on not found
|
88237
|
+
--------------------------------------------------------------------------------
|
88238
|
+
Processing by AlternatesController#show as HTML
|
88239
|
+
Parameters: {"id"=>"1"}
|
88240
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
88241
|
+
Completed 404 Not Found in 1ms
|
88242
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88243
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88244
|
+
---------------------------------------------------------------
|
88245
|
+
AlternatesController::base actions::update: test_0001_redirects
|
88246
|
+
---------------------------------------------------------------
|
88247
|
+
Processing by AlternatesController#update as HTML
|
88248
|
+
Parameters: {"document"=>{"name"=>"New document"}, "id"=>"100"}
|
88249
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
88250
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
88251
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100[0m [["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:43:52 UTC +00:00]]
|
88252
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
88253
|
+
Redirected to http://test.host/documents
|
88254
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
88255
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
88256
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88257
|
+
--------------------------------------------------------------------
|
88258
|
+
AlternatesController::base actions::update: test_0002_display errors
|
88259
|
+
--------------------------------------------------------------------
|
88260
|
+
Processing by AlternatesController#update as HTML
|
88261
|
+
Parameters: {"document"=>{"name"=>""}, "id"=>"100"}
|
88262
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
88263
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88264
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
88265
|
+
Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.2ms)
|
88266
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88267
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88268
|
+
----------------------------------------------------------------------------------
|
88269
|
+
AlternatesController::base actions::update: test_0003_raise exception on not found
|
88270
|
+
----------------------------------------------------------------------------------
|
88271
|
+
Processing by AlternatesController#update as HTML
|
88272
|
+
Parameters: {"id"=>"1"}
|
88273
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
88274
|
+
Completed 404 Not Found in 1ms
|
88275
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88276
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88277
|
+
--------------------------------------------------
|
88278
|
+
BlocksController: test_0001_has one response block
|
88279
|
+
--------------------------------------------------
|
88280
|
+
Processing by BlocksController#create as HTML
|
88281
|
+
Parameters: {"document"=>{"name"=>"Sample"}}
|
88282
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88283
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Aug 2013 17:43:52 UTC +00:00], ["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:43:52 UTC +00:00]]
|
88284
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88285
|
+
Redirected to http://test.host/
|
88286
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
88287
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
88288
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88289
|
+
----------------------------------------------------------------
|
88290
|
+
BlocksController: test_0002_has two response blocks with success
|
88291
|
+
----------------------------------------------------------------
|
88292
|
+
Processing by BlocksController#update as HTML
|
88293
|
+
Parameters: {"document"=>{"name"=>"Sample"}, "id"=>"100"}
|
88294
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88295
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88296
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:43:52 UTC +00:00]]
|
88297
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88298
|
+
Redirected to http://test.host/
|
88299
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
88300
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
88301
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88302
|
+
----------------------------------------------------------------
|
88303
|
+
BlocksController: test_0003_has two response blocks with failire
|
88304
|
+
----------------------------------------------------------------
|
88305
|
+
Processing by BlocksController#update as HTML
|
88306
|
+
Parameters: {"document"=>{"name"=>""}, "id"=>"100"}
|
88307
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88308
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88309
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
88310
|
+
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.2ms)
|
88311
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88312
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88313
|
+
---------------------------------------------------------------
|
88314
|
+
CustomNoticesController::flash messages: test_0001_has a notice
|
88315
|
+
---------------------------------------------------------------
|
88316
|
+
Processing by CustomNoticesController#create as HTML
|
88317
|
+
Parameters: {"document"=>{"name"=>"Sample"}}
|
88318
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88319
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Aug 2013 17:43:52 UTC +00:00], ["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:43:52 UTC +00:00]]
|
88320
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88321
|
+
Redirected to http://test.host/
|
88322
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
88323
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
88324
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88325
|
+
---------------------------------------------------------------
|
88326
|
+
CustomNoticesController::flash messages: test_0002_has an alert
|
88327
|
+
---------------------------------------------------------------
|
88328
|
+
Processing by CustomNoticesController#update as HTML
|
88329
|
+
Parameters: {"document"=>{"name"=>"Sample"}, "id"=>"100"}
|
88330
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88331
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88332
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:43:52 UTC +00:00]]
|
88333
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88334
|
+
Redirected to http://test.host/
|
88335
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
88336
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
88337
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88338
|
+
--------------------------------------------------------------
|
88339
|
+
DocumentsController::base actions::create: test_0001_redirects
|
88340
|
+
--------------------------------------------------------------
|
88341
|
+
Processing by DocumentsController#create as HTML
|
88342
|
+
Parameters: {"document"=>{"name"=>"New document"}}
|
88343
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88344
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 06 Aug 2013 17:43:52 UTC +00:00], ["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:43:52 UTC +00:00]]
|
88345
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
88346
|
+
Redirected to http://test.host/documents
|
88347
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
88348
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
88349
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88350
|
+
-------------------------------------------------------------------
|
88351
|
+
DocumentsController::base actions::create: test_0002_display errors
|
88352
|
+
-------------------------------------------------------------------
|
88353
|
+
Processing by DocumentsController#create as HTML
|
88354
|
+
Parameters: {"document"=>{"name"=>""}}
|
88355
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88356
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
88357
|
+
Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
88358
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
88359
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88360
|
+
---------------------------------------------------------------
|
88361
|
+
DocumentsController::base actions::destroy: test_0001_redirects
|
88362
|
+
---------------------------------------------------------------
|
88363
|
+
Processing by DocumentsController#destroy as HTML
|
88364
|
+
Parameters: {"id"=>"100"}
|
88365
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
88366
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
88367
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "documents" WHERE "documents"."id" = ?[0m [["id", 100]]
|
88368
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
88369
|
+
Redirected to http://test.host/documents
|
88370
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
88371
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
88372
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88373
|
+
----------------------------------------------------------------------------------
|
88374
|
+
DocumentsController::base actions::destroy: test_0002_raise exception on not found
|
88375
|
+
----------------------------------------------------------------------------------
|
88376
|
+
Processing by DocumentsController#destroy as HTML
|
88377
|
+
Parameters: {"id"=>"1"}
|
88378
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
88379
|
+
Completed 404 Not Found in 1ms
|
88380
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88381
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88382
|
+
--------------------------------------------------------------
|
88383
|
+
DocumentsController::base actions::edit: test_0001_render form
|
88384
|
+
--------------------------------------------------------------
|
88385
|
+
Processing by DocumentsController#edit as HTML
|
88386
|
+
Parameters: {"id"=>"100"}
|
88387
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88388
|
+
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
88389
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88390
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88391
|
+
-------------------------------------------------------------------------------
|
88392
|
+
DocumentsController::base actions::edit: test_0002_raise exception on not found
|
88393
|
+
-------------------------------------------------------------------------------
|
88394
|
+
Processing by DocumentsController#edit as HTML
|
88395
|
+
Parameters: {"id"=>"1"}
|
88396
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
88397
|
+
Completed 404 Not Found in 1ms
|
88398
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88399
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88400
|
+
---------------------------------------------------------------
|
88401
|
+
DocumentsController::base actions::index: test_0001_render list
|
88402
|
+
---------------------------------------------------------------
|
88403
|
+
Processing by DocumentsController#index as HTML
|
88404
|
+
[1m[35m (0.1ms)[0m SELECT MAX("documents"."updated_at") AS max_id FROM "documents"
|
88405
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents"[0m
|
88406
|
+
Completed 200 OK in 3ms (Views: 1.3ms | ActiveRecord: 0.2ms)
|
88407
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88408
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88409
|
+
-------------------------------------------------------------
|
88410
|
+
DocumentsController::base actions::new: test_0001_render form
|
88411
|
+
-------------------------------------------------------------
|
88412
|
+
Processing by DocumentsController#new as HTML
|
88413
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
88414
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88415
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88416
|
+
--------------------------------------------------------------
|
88417
|
+
DocumentsController::base actions::show: test_0001_render view
|
88418
|
+
--------------------------------------------------------------
|
88419
|
+
Processing by DocumentsController#show as HTML
|
88420
|
+
Parameters: {"id"=>"100"}
|
88421
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88422
|
+
Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)
|
88423
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88424
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88425
|
+
-------------------------------------------------------------------------------
|
88426
|
+
DocumentsController::base actions::show: test_0002_raise exception on not found
|
88427
|
+
-------------------------------------------------------------------------------
|
88428
|
+
Processing by DocumentsController#show as HTML
|
88429
|
+
Parameters: {"id"=>"1"}
|
88430
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
88431
|
+
Completed 404 Not Found in 1ms
|
88432
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88433
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88434
|
+
--------------------------------------------------------------
|
88435
|
+
DocumentsController::base actions::update: test_0001_redirects
|
88436
|
+
--------------------------------------------------------------
|
88437
|
+
Processing by DocumentsController#update as HTML
|
88438
|
+
Parameters: {"document"=>{"name"=>"New document"}, "id"=>"100"}
|
88439
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88440
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
88441
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:43:52 UTC +00:00]]
|
88442
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88443
|
+
Redirected to http://test.host/documents
|
88444
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
88445
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
88446
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88447
|
+
-------------------------------------------------------------------
|
88448
|
+
DocumentsController::base actions::update: test_0002_display errors
|
88449
|
+
-------------------------------------------------------------------
|
88450
|
+
Processing by DocumentsController#update as HTML
|
88451
|
+
Parameters: {"document"=>{"name"=>""}, "id"=>"100"}
|
88452
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88453
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
88454
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
88455
|
+
Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.2ms)
|
88456
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88457
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88458
|
+
---------------------------------------------------------------------------------
|
88459
|
+
DocumentsController::base actions::update: test_0003_raise exception on not found
|
88460
|
+
---------------------------------------------------------------------------------
|
88461
|
+
Processing by DocumentsController#update as HTML
|
88462
|
+
Parameters: {"id"=>"1"}
|
88463
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
88464
|
+
Completed 404 Not Found in 1ms
|
88465
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88466
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
88467
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88468
|
+
[1m[36mFixture Delete (0.3ms)[0m [1mDELETE FROM "documents"[0m
|
88469
|
+
[1m[35mFixture Insert (0.2ms)[0m INSERT INTO "documents" ("id", "name", "created_at", "updated_at") VALUES (100, 'Sample document', '2013-08-06 17:44:10', '2013-08-06 17:44:10')
|
88470
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
88471
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88472
|
+
---------------------------------------------------------------
|
88473
|
+
AlternatesController::base actions::create: test_0001_redirects
|
88474
|
+
---------------------------------------------------------------
|
88475
|
+
Processing by AlternatesController#create as HTML
|
88476
|
+
Parameters: {"document"=>{"name"=>"New document"}}
|
88477
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88478
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Aug 2013 17:44:10 UTC +00:00], ["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:44:10 UTC +00:00]]
|
88479
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88480
|
+
Redirected to http://test.host/documents
|
88481
|
+
Completed 302 Found in 49ms (ActiveRecord: 1.2ms)
|
88482
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
88483
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88484
|
+
--------------------------------------------------------------------
|
88485
|
+
AlternatesController::base actions::create: test_0002_display errors
|
88486
|
+
--------------------------------------------------------------------
|
88487
|
+
Processing by AlternatesController#create as HTML
|
88488
|
+
Parameters: {"document"=>{"name"=>""}}
|
88489
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88490
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
88491
|
+
Completed 200 OK in 18ms (Views: 12.2ms | ActiveRecord: 0.1ms)
|
88492
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88493
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88494
|
+
----------------------------------------------------------------
|
88495
|
+
AlternatesController::base actions::destroy: test_0001_redirects
|
88496
|
+
----------------------------------------------------------------
|
88497
|
+
Processing by AlternatesController#destroy as HTML
|
88498
|
+
Parameters: {"id"=>"100"}
|
88499
|
+
[1m[35mDocument Load (0.2ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88500
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88501
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "documents" WHERE "documents"."id" = ? [["id", 100]]
|
88502
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88503
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
88504
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88505
|
+
Redirected to http://test.host/documents
|
88506
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
|
88507
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
88508
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88509
|
+
-----------------------------------------------------------------------------------
|
88510
|
+
AlternatesController::base actions::destroy: test_0002_raise exception on not found
|
88511
|
+
-----------------------------------------------------------------------------------
|
88512
|
+
Processing by AlternatesController#destroy as HTML
|
88513
|
+
Parameters: {"id"=>"1"}
|
88514
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
88515
|
+
Completed 404 Not Found in 1ms
|
88516
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88517
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88518
|
+
---------------------------------------------------------------
|
88519
|
+
AlternatesController::base actions::edit: test_0001_render form
|
88520
|
+
---------------------------------------------------------------
|
88521
|
+
Processing by AlternatesController#edit as HTML
|
88522
|
+
Parameters: {"id"=>"100"}
|
88523
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
88524
|
+
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
|
88525
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88526
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88527
|
+
--------------------------------------------------------------------------------
|
88528
|
+
AlternatesController::base actions::edit: test_0002_raise exception on not found
|
88529
|
+
--------------------------------------------------------------------------------
|
88530
|
+
Processing by AlternatesController#edit as HTML
|
88531
|
+
Parameters: {"id"=>"1"}
|
88532
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
88533
|
+
Completed 404 Not Found in 1ms
|
88534
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88535
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88536
|
+
----------------------------------------------------------------
|
88537
|
+
AlternatesController::base actions::index: test_0001_render list
|
88538
|
+
----------------------------------------------------------------
|
88539
|
+
Processing by AlternatesController#index as HTML
|
88540
|
+
[1m[36m (0.2ms)[0m [1mSELECT MAX("documents"."updated_at") AS max_id FROM "documents"[0m
|
88541
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents"
|
88542
|
+
Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms)
|
88543
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88544
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88545
|
+
--------------------------------------------------------------
|
88546
|
+
AlternatesController::base actions::new: test_0001_render form
|
88547
|
+
--------------------------------------------------------------
|
88548
|
+
Processing by AlternatesController#new as HTML
|
88549
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
88550
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88551
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88552
|
+
---------------------------------------------------------------
|
88553
|
+
AlternatesController::base actions::show: test_0001_render view
|
88554
|
+
---------------------------------------------------------------
|
88555
|
+
Processing by AlternatesController#show as HTML
|
88556
|
+
Parameters: {"id"=>"100"}
|
88557
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
88558
|
+
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)
|
88559
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88560
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88561
|
+
--------------------------------------------------------------------------------
|
88562
|
+
AlternatesController::base actions::show: test_0002_raise exception on not found
|
88563
|
+
--------------------------------------------------------------------------------
|
88564
|
+
Processing by AlternatesController#show as HTML
|
88565
|
+
Parameters: {"id"=>"1"}
|
88566
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
88567
|
+
Completed 404 Not Found in 1ms
|
88568
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88569
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88570
|
+
---------------------------------------------------------------
|
88571
|
+
AlternatesController::base actions::update: test_0001_redirects
|
88572
|
+
---------------------------------------------------------------
|
88573
|
+
Processing by AlternatesController#update as HTML
|
88574
|
+
Parameters: {"document"=>{"name"=>"New document"}, "id"=>"100"}
|
88575
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
88576
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88577
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100[0m [["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:44:10 UTC +00:00]]
|
88578
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
88579
|
+
Redirected to http://test.host/documents
|
88580
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
88581
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
88582
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88583
|
+
--------------------------------------------------------------------
|
88584
|
+
AlternatesController::base actions::update: test_0002_display errors
|
88585
|
+
--------------------------------------------------------------------
|
88586
|
+
Processing by AlternatesController#update as HTML
|
88587
|
+
Parameters: {"document"=>{"name"=>""}, "id"=>"100"}
|
88588
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
88589
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88590
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
88591
|
+
Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.2ms)
|
88592
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88593
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88594
|
+
----------------------------------------------------------------------------------
|
88595
|
+
AlternatesController::base actions::update: test_0003_raise exception on not found
|
88596
|
+
----------------------------------------------------------------------------------
|
88597
|
+
Processing by AlternatesController#update as HTML
|
88598
|
+
Parameters: {"id"=>"1"}
|
88599
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
88600
|
+
Completed 404 Not Found in 1ms
|
88601
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88602
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88603
|
+
--------------------------------------------------
|
88604
|
+
BlocksController: test_0001_has one response block
|
88605
|
+
--------------------------------------------------
|
88606
|
+
Processing by BlocksController#create as HTML
|
88607
|
+
Parameters: {"document"=>{"name"=>"Sample"}}
|
88608
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88609
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Aug 2013 17:44:10 UTC +00:00], ["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:44:10 UTC +00:00]]
|
88610
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88611
|
+
Redirected to http://test.host/
|
88612
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
88613
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
88614
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88615
|
+
----------------------------------------------------------------
|
88616
|
+
BlocksController: test_0002_has two response blocks with success
|
88617
|
+
----------------------------------------------------------------
|
88618
|
+
Processing by BlocksController#update as HTML
|
88619
|
+
Parameters: {"document"=>{"name"=>"Sample"}, "id"=>"100"}
|
88620
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88621
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88622
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:44:10 UTC +00:00]]
|
88623
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88624
|
+
Redirected to http://test.host/
|
88625
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
88626
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
88627
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88628
|
+
----------------------------------------------------------------
|
88629
|
+
BlocksController: test_0003_has two response blocks with failire
|
88630
|
+
----------------------------------------------------------------
|
88631
|
+
Processing by BlocksController#update as HTML
|
88632
|
+
Parameters: {"document"=>{"name"=>""}, "id"=>"100"}
|
88633
|
+
[1m[35mDocument Load (0.2ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88634
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88635
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
88636
|
+
Completed 200 OK in 5ms (Views: 2.5ms | ActiveRecord: 0.3ms)
|
88637
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88638
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88639
|
+
---------------------------------------------------------------
|
88640
|
+
CustomNoticesController::flash messages: test_0001_has a notice
|
88641
|
+
---------------------------------------------------------------
|
88642
|
+
Processing by CustomNoticesController#create as HTML
|
88643
|
+
Parameters: {"document"=>{"name"=>"Sample"}}
|
88644
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88645
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Aug 2013 17:44:10 UTC +00:00], ["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:44:10 UTC +00:00]]
|
88646
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88647
|
+
Redirected to http://test.host/
|
88648
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
88649
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
88650
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88651
|
+
---------------------------------------------------------------
|
88652
|
+
CustomNoticesController::flash messages: test_0002_has an alert
|
88653
|
+
---------------------------------------------------------------
|
88654
|
+
Processing by CustomNoticesController#update as HTML
|
88655
|
+
Parameters: {"document"=>{"name"=>"Sample"}, "id"=>"100"}
|
88656
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88657
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88658
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:44:10 UTC +00:00]]
|
88659
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88660
|
+
Redirected to http://test.host/
|
88661
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
88662
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
88663
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88664
|
+
--------------------------------------------------------------
|
88665
|
+
DocumentsController::base actions::create: test_0001_redirects
|
88666
|
+
--------------------------------------------------------------
|
88667
|
+
Processing by DocumentsController#create as HTML
|
88668
|
+
Parameters: {"document"=>{"name"=>"New document"}}
|
88669
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88670
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 06 Aug 2013 17:44:10 UTC +00:00], ["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:44:10 UTC +00:00]]
|
88671
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
88672
|
+
Redirected to http://test.host/documents
|
88673
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
88674
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
88675
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88676
|
+
-------------------------------------------------------------------
|
88677
|
+
DocumentsController::base actions::create: test_0002_display errors
|
88678
|
+
-------------------------------------------------------------------
|
88679
|
+
Processing by DocumentsController#create as HTML
|
88680
|
+
Parameters: {"document"=>{"name"=>""}}
|
88681
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88682
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
88683
|
+
Completed 200 OK in 4ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
88684
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88685
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88686
|
+
---------------------------------------------------------------
|
88687
|
+
DocumentsController::base actions::destroy: test_0001_redirects
|
88688
|
+
---------------------------------------------------------------
|
88689
|
+
Processing by DocumentsController#destroy as HTML
|
88690
|
+
Parameters: {"id"=>"100"}
|
88691
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
88692
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88693
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "documents" WHERE "documents"."id" = ?[0m [["id", 100]]
|
88694
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
88695
|
+
Redirected to http://test.host/documents
|
88696
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
88697
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
88698
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88699
|
+
----------------------------------------------------------------------------------
|
88700
|
+
DocumentsController::base actions::destroy: test_0002_raise exception on not found
|
88701
|
+
----------------------------------------------------------------------------------
|
88702
|
+
Processing by DocumentsController#destroy as HTML
|
88703
|
+
Parameters: {"id"=>"1"}
|
88704
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
88705
|
+
Completed 404 Not Found in 1ms
|
88706
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88707
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88708
|
+
--------------------------------------------------------------
|
88709
|
+
DocumentsController::base actions::edit: test_0001_render form
|
88710
|
+
--------------------------------------------------------------
|
88711
|
+
Processing by DocumentsController#edit as HTML
|
88712
|
+
Parameters: {"id"=>"100"}
|
88713
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88714
|
+
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)
|
88715
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88716
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88717
|
+
-------------------------------------------------------------------------------
|
88718
|
+
DocumentsController::base actions::edit: test_0002_raise exception on not found
|
88719
|
+
-------------------------------------------------------------------------------
|
88720
|
+
Processing by DocumentsController#edit as HTML
|
88721
|
+
Parameters: {"id"=>"1"}
|
88722
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
88723
|
+
Completed 404 Not Found in 1ms
|
88724
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88725
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88726
|
+
---------------------------------------------------------------
|
88727
|
+
DocumentsController::base actions::index: test_0001_render list
|
88728
|
+
---------------------------------------------------------------
|
88729
|
+
Processing by DocumentsController#index as HTML
|
88730
|
+
[1m[35m (0.2ms)[0m SELECT MAX("documents"."updated_at") AS max_id FROM "documents"
|
88731
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents"[0m
|
88732
|
+
Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)
|
88733
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88734
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88735
|
+
-------------------------------------------------------------
|
88736
|
+
DocumentsController::base actions::new: test_0001_render form
|
88737
|
+
-------------------------------------------------------------
|
88738
|
+
Processing by DocumentsController#new as HTML
|
88739
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
88740
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88741
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88742
|
+
--------------------------------------------------------------
|
88743
|
+
DocumentsController::base actions::show: test_0001_render view
|
88744
|
+
--------------------------------------------------------------
|
88745
|
+
Processing by DocumentsController#show as HTML
|
88746
|
+
Parameters: {"id"=>"100"}
|
88747
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88748
|
+
Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)
|
88749
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88750
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88751
|
+
-------------------------------------------------------------------------------
|
88752
|
+
DocumentsController::base actions::show: test_0002_raise exception on not found
|
88753
|
+
-------------------------------------------------------------------------------
|
88754
|
+
Processing by DocumentsController#show as HTML
|
88755
|
+
Parameters: {"id"=>"1"}
|
88756
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
88757
|
+
Completed 404 Not Found in 1ms
|
88758
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88759
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88760
|
+
--------------------------------------------------------------
|
88761
|
+
DocumentsController::base actions::update: test_0001_redirects
|
88762
|
+
--------------------------------------------------------------
|
88763
|
+
Processing by DocumentsController#update as HTML
|
88764
|
+
Parameters: {"document"=>{"name"=>"New document"}, "id"=>"100"}
|
88765
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88766
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88767
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:44:10 UTC +00:00]]
|
88768
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88769
|
+
Redirected to http://test.host/documents
|
88770
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
88771
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
88772
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88773
|
+
-------------------------------------------------------------------
|
88774
|
+
DocumentsController::base actions::update: test_0002_display errors
|
88775
|
+
-------------------------------------------------------------------
|
88776
|
+
Processing by DocumentsController#update as HTML
|
88777
|
+
Parameters: {"document"=>{"name"=>""}, "id"=>"100"}
|
88778
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88779
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88780
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
88781
|
+
Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.2ms)
|
88782
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88783
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88784
|
+
---------------------------------------------------------------------------------
|
88785
|
+
DocumentsController::base actions::update: test_0003_raise exception on not found
|
88786
|
+
---------------------------------------------------------------------------------
|
88787
|
+
Processing by DocumentsController#update as HTML
|
88788
|
+
Parameters: {"id"=>"1"}
|
88789
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
88790
|
+
Completed 404 Not Found in 1ms
|
88791
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88792
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
88793
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88794
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "documents"[0m
|
88795
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "name", "created_at", "updated_at") VALUES (100, 'Sample document', '2013-08-06 17:45:52', '2013-08-06 17:45:52')
|
88796
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
88797
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88798
|
+
---------------------------------------------------------------
|
88799
|
+
AlternatesController::base actions::create: test_0001_redirects
|
88800
|
+
---------------------------------------------------------------
|
88801
|
+
Processing by AlternatesController#create as HTML
|
88802
|
+
Parameters: {"document"=>{"name"=>"New document"}}
|
88803
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88804
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Aug 2013 17:45:52 UTC +00:00], ["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:45:52 UTC +00:00]]
|
88805
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88806
|
+
Redirected to http://test.host/documents
|
88807
|
+
Completed 302 Found in 51ms (ActiveRecord: 1.3ms)
|
88808
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
88809
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88810
|
+
--------------------------------------------------------------------
|
88811
|
+
AlternatesController::base actions::create: test_0002_display errors
|
88812
|
+
--------------------------------------------------------------------
|
88813
|
+
Processing by AlternatesController#create as HTML
|
88814
|
+
Parameters: {"document"=>{"name"=>""}}
|
88815
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
88816
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
88817
|
+
Completed 200 OK in 18ms (Views: 12.1ms | ActiveRecord: 0.1ms)
|
88818
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88819
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88820
|
+
----------------------------------------------------------------
|
88821
|
+
AlternatesController::base actions::destroy: test_0001_redirects
|
88822
|
+
----------------------------------------------------------------
|
88823
|
+
Processing by AlternatesController#destroy as HTML
|
88824
|
+
Parameters: {"id"=>"100"}
|
88825
|
+
[1m[35mDocument Load (0.2ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88826
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88827
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "documents" WHERE "documents"."id" = ? [["id", 100]]
|
88828
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88829
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
88830
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88831
|
+
Redirected to http://test.host/documents
|
88832
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
88833
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
88834
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88835
|
+
-----------------------------------------------------------------------------------
|
88836
|
+
AlternatesController::base actions::destroy: test_0002_raise exception on not found
|
88837
|
+
-----------------------------------------------------------------------------------
|
88838
|
+
Processing by AlternatesController#destroy as HTML
|
88839
|
+
Parameters: {"id"=>"1"}
|
88840
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
88841
|
+
Completed 404 Not Found in 1ms
|
88842
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88843
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88844
|
+
---------------------------------------------------------------
|
88845
|
+
AlternatesController::base actions::edit: test_0001_render form
|
88846
|
+
---------------------------------------------------------------
|
88847
|
+
Processing by AlternatesController#edit as HTML
|
88848
|
+
Parameters: {"id"=>"100"}
|
88849
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
88850
|
+
Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.1ms)
|
88851
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88852
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88853
|
+
--------------------------------------------------------------------------------
|
88854
|
+
AlternatesController::base actions::edit: test_0002_raise exception on not found
|
88855
|
+
--------------------------------------------------------------------------------
|
88856
|
+
Processing by AlternatesController#edit as HTML
|
88857
|
+
Parameters: {"id"=>"1"}
|
88858
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
88859
|
+
Completed 404 Not Found in 1ms
|
88860
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88861
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88862
|
+
----------------------------------------------------------------
|
88863
|
+
AlternatesController::base actions::index: test_0001_render list
|
88864
|
+
----------------------------------------------------------------
|
88865
|
+
Processing by AlternatesController#index as HTML
|
88866
|
+
[1m[36m (0.1ms)[0m [1mSELECT MAX("documents"."updated_at") AS max_id FROM "documents"[0m
|
88867
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents"
|
88868
|
+
Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms)
|
88869
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88870
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88871
|
+
--------------------------------------------------------------
|
88872
|
+
AlternatesController::base actions::new: test_0001_render form
|
88873
|
+
--------------------------------------------------------------
|
88874
|
+
Processing by AlternatesController#new as HTML
|
88875
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
88876
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88877
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88878
|
+
---------------------------------------------------------------
|
88879
|
+
AlternatesController::base actions::show: test_0001_render view
|
88880
|
+
---------------------------------------------------------------
|
88881
|
+
Processing by AlternatesController#show as HTML
|
88882
|
+
Parameters: {"id"=>"100"}
|
88883
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
88884
|
+
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
88885
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88886
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88887
|
+
--------------------------------------------------------------------------------
|
88888
|
+
AlternatesController::base actions::show: test_0002_raise exception on not found
|
88889
|
+
--------------------------------------------------------------------------------
|
88890
|
+
Processing by AlternatesController#show as HTML
|
88891
|
+
Parameters: {"id"=>"1"}
|
88892
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
88893
|
+
Completed 404 Not Found in 1ms
|
88894
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88895
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88896
|
+
---------------------------------------------------------------
|
88897
|
+
AlternatesController::base actions::update: test_0001_redirects
|
88898
|
+
---------------------------------------------------------------
|
88899
|
+
Processing by AlternatesController#update as HTML
|
88900
|
+
Parameters: {"document"=>{"name"=>"New document"}, "id"=>"100"}
|
88901
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
88902
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88903
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100[0m [["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:45:52 UTC +00:00]]
|
88904
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
88905
|
+
Redirected to http://test.host/documents
|
88906
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
|
88907
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
88908
|
+
[1m[35m (0.1ms)[0m begin transaction
|
88909
|
+
--------------------------------------------------------------------
|
88910
|
+
AlternatesController::base actions::update: test_0002_display errors
|
88911
|
+
--------------------------------------------------------------------
|
88912
|
+
Processing by AlternatesController#update as HTML
|
88913
|
+
Parameters: {"document"=>{"name"=>""}, "id"=>"100"}
|
88914
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
88915
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88916
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
88917
|
+
Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.3ms)
|
88918
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
88919
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88920
|
+
----------------------------------------------------------------------------------
|
88921
|
+
AlternatesController::base actions::update: test_0003_raise exception on not found
|
88922
|
+
----------------------------------------------------------------------------------
|
88923
|
+
Processing by AlternatesController#update as HTML
|
88924
|
+
Parameters: {"id"=>"1"}
|
88925
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
88926
|
+
Completed 404 Not Found in 1ms
|
88927
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88928
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88929
|
+
--------------------------------------------------
|
88930
|
+
BlocksController: test_0001_has one response block
|
88931
|
+
--------------------------------------------------
|
88932
|
+
Processing by BlocksController#create as HTML
|
88933
|
+
Parameters: {"document"=>{"name"=>"Sample"}}
|
88934
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88935
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Aug 2013 17:45:52 UTC +00:00], ["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:45:52 UTC +00:00]]
|
88936
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88937
|
+
Redirected to http://test.host/
|
88938
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
88939
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
88940
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88941
|
+
----------------------------------------------------------------
|
88942
|
+
BlocksController: test_0002_has two response blocks with success
|
88943
|
+
----------------------------------------------------------------
|
88944
|
+
Processing by BlocksController#update as HTML
|
88945
|
+
Parameters: {"document"=>{"name"=>"Sample"}, "id"=>"100"}
|
88946
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88947
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88948
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:45:52 UTC +00:00]]
|
88949
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88950
|
+
Redirected to http://test.host/
|
88951
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
88952
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
88953
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88954
|
+
----------------------------------------------------------------
|
88955
|
+
BlocksController: test_0003_has two response blocks with failire
|
88956
|
+
----------------------------------------------------------------
|
88957
|
+
Processing by BlocksController#update as HTML
|
88958
|
+
Parameters: {"document"=>{"name"=>""}, "id"=>"100"}
|
88959
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88960
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88961
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
88962
|
+
Completed 200 OK in 5ms (Views: 2.3ms | ActiveRecord: 0.2ms)
|
88963
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
88964
|
+
[1m[35m (0.0ms)[0m begin transaction
|
88965
|
+
---------------------------------------------------------------
|
88966
|
+
CustomNoticesController::flash messages: test_0001_has a notice
|
88967
|
+
---------------------------------------------------------------
|
88968
|
+
Processing by CustomNoticesController#create as HTML
|
88969
|
+
Parameters: {"document"=>{"name"=>"Sample"}}
|
88970
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88971
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Aug 2013 17:45:52 UTC +00:00], ["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:45:52 UTC +00:00]]
|
88972
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88973
|
+
Redirected to http://test.host/
|
88974
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
88975
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
88976
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
88977
|
+
---------------------------------------------------------------
|
88978
|
+
CustomNoticesController::flash messages: test_0002_has an alert
|
88979
|
+
---------------------------------------------------------------
|
88980
|
+
Processing by CustomNoticesController#update as HTML
|
88981
|
+
Parameters: {"document"=>{"name"=>"Sample"}, "id"=>"100"}
|
88982
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
88983
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
88984
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:45:52 UTC +00:00]]
|
88985
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
88986
|
+
Redirected to http://test.host/
|
88987
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
88988
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
88989
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
88990
|
+
--------------------------------------------------------------
|
88991
|
+
DocumentsController::base actions::create: test_0001_redirects
|
88992
|
+
--------------------------------------------------------------
|
88993
|
+
Processing by DocumentsController#create as HTML
|
88994
|
+
Parameters: {"document"=>{"name"=>"New document"}}
|
88995
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
88996
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 06 Aug 2013 17:45:52 UTC +00:00], ["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:45:52 UTC +00:00]]
|
88997
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
88998
|
+
Redirected to http://test.host/documents
|
88999
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
89000
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
89001
|
+
[1m[35m (0.1ms)[0m begin transaction
|
89002
|
+
-------------------------------------------------------------------
|
89003
|
+
DocumentsController::base actions::create: test_0002_display errors
|
89004
|
+
-------------------------------------------------------------------
|
89005
|
+
Processing by DocumentsController#create as HTML
|
89006
|
+
Parameters: {"document"=>{"name"=>""}}
|
89007
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
89008
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
89009
|
+
Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.1ms)
|
89010
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
89011
|
+
[1m[35m (0.0ms)[0m begin transaction
|
89012
|
+
---------------------------------------------------------------
|
89013
|
+
DocumentsController::base actions::destroy: test_0001_redirects
|
89014
|
+
---------------------------------------------------------------
|
89015
|
+
Processing by DocumentsController#destroy as HTML
|
89016
|
+
Parameters: {"id"=>"100"}
|
89017
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
89018
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
89019
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "documents" WHERE "documents"."id" = ?[0m [["id", 100]]
|
89020
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
89021
|
+
Redirected to http://test.host/documents
|
89022
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
89023
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
89024
|
+
[1m[35m (0.1ms)[0m begin transaction
|
89025
|
+
----------------------------------------------------------------------------------
|
89026
|
+
DocumentsController::base actions::destroy: test_0002_raise exception on not found
|
89027
|
+
----------------------------------------------------------------------------------
|
89028
|
+
Processing by DocumentsController#destroy as HTML
|
89029
|
+
Parameters: {"id"=>"1"}
|
89030
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
89031
|
+
Completed 404 Not Found in 1ms
|
89032
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
89033
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
89034
|
+
--------------------------------------------------------------
|
89035
|
+
DocumentsController::base actions::edit: test_0001_render form
|
89036
|
+
--------------------------------------------------------------
|
89037
|
+
Processing by DocumentsController#edit as HTML
|
89038
|
+
Parameters: {"id"=>"100"}
|
89039
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
89040
|
+
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
89041
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
89042
|
+
[1m[35m (0.0ms)[0m begin transaction
|
89043
|
+
-------------------------------------------------------------------------------
|
89044
|
+
DocumentsController::base actions::edit: test_0002_raise exception on not found
|
89045
|
+
-------------------------------------------------------------------------------
|
89046
|
+
Processing by DocumentsController#edit as HTML
|
89047
|
+
Parameters: {"id"=>"1"}
|
89048
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
89049
|
+
Completed 404 Not Found in 1ms
|
89050
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
89051
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
89052
|
+
---------------------------------------------------------------
|
89053
|
+
DocumentsController::base actions::index: test_0001_render list
|
89054
|
+
---------------------------------------------------------------
|
89055
|
+
Processing by DocumentsController#index as HTML
|
89056
|
+
[1m[35m (0.2ms)[0m SELECT MAX("documents"."updated_at") AS max_id FROM "documents"
|
89057
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents"[0m
|
89058
|
+
Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)
|
89059
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
89060
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
89061
|
+
-------------------------------------------------------------
|
89062
|
+
DocumentsController::base actions::new: test_0001_render form
|
89063
|
+
-------------------------------------------------------------
|
89064
|
+
Processing by DocumentsController#new as HTML
|
89065
|
+
Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
|
89066
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
89067
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
89068
|
+
--------------------------------------------------------------
|
89069
|
+
DocumentsController::base actions::show: test_0001_render view
|
89070
|
+
--------------------------------------------------------------
|
89071
|
+
Processing by DocumentsController#show as HTML
|
89072
|
+
Parameters: {"id"=>"100"}
|
89073
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
89074
|
+
Completed 200 OK in 2ms (Views: 1.0ms | ActiveRecord: 0.1ms)
|
89075
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
89076
|
+
[1m[35m (0.1ms)[0m begin transaction
|
89077
|
+
-------------------------------------------------------------------------------
|
89078
|
+
DocumentsController::base actions::show: test_0002_raise exception on not found
|
89079
|
+
-------------------------------------------------------------------------------
|
89080
|
+
Processing by DocumentsController#show as HTML
|
89081
|
+
Parameters: {"id"=>"1"}
|
89082
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
89083
|
+
Completed 404 Not Found in 1ms
|
89084
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
89085
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
89086
|
+
--------------------------------------------------------------
|
89087
|
+
DocumentsController::base actions::update: test_0001_redirects
|
89088
|
+
--------------------------------------------------------------
|
89089
|
+
Processing by DocumentsController#update as HTML
|
89090
|
+
Parameters: {"document"=>{"name"=>"New document"}, "id"=>"100"}
|
89091
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
89092
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
89093
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:45:53 UTC +00:00]]
|
89094
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
89095
|
+
Redirected to http://test.host/documents
|
89096
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
89097
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
89098
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
89099
|
+
-------------------------------------------------------------------
|
89100
|
+
DocumentsController::base actions::update: test_0002_display errors
|
89101
|
+
-------------------------------------------------------------------
|
89102
|
+
Processing by DocumentsController#update as HTML
|
89103
|
+
Parameters: {"document"=>{"name"=>""}, "id"=>"100"}
|
89104
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
89105
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
89106
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
89107
|
+
Completed 200 OK in 4ms (Views: 1.4ms | ActiveRecord: 0.2ms)
|
89108
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
89109
|
+
[1m[35m (0.0ms)[0m begin transaction
|
89110
|
+
---------------------------------------------------------------------------------
|
89111
|
+
DocumentsController::base actions::update: test_0003_raise exception on not found
|
89112
|
+
---------------------------------------------------------------------------------
|
89113
|
+
Processing by DocumentsController#update as HTML
|
89114
|
+
Parameters: {"id"=>"1"}
|
89115
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
89116
|
+
Completed 404 Not Found in 1ms
|
89117
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
89118
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
89119
|
+
[1m[35m (0.1ms)[0m begin transaction
|
89120
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "documents"[0m
|
89121
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "documents" ("id", "name", "created_at", "updated_at") VALUES (100, 'Sample document', '2013-08-06 17:46:13', '2013-08-06 17:46:13')
|
89122
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
89123
|
+
[1m[35m (0.0ms)[0m begin transaction
|
89124
|
+
---------------------------------------------------------------
|
89125
|
+
AlternatesController::base actions::create: test_0001_redirects
|
89126
|
+
---------------------------------------------------------------
|
89127
|
+
Processing by AlternatesController#create as HTML
|
89128
|
+
Parameters: {"document"=>{"name"=>"New document"}}
|
89129
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
89130
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Aug 2013 17:46:13 UTC +00:00], ["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:46:13 UTC +00:00]]
|
89131
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
89132
|
+
Redirected to http://test.host/documents
|
89133
|
+
Completed 302 Found in 51ms (ActiveRecord: 1.2ms)
|
89134
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
89135
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
89136
|
+
--------------------------------------------------------------------
|
89137
|
+
AlternatesController::base actions::create: test_0002_display errors
|
89138
|
+
--------------------------------------------------------------------
|
89139
|
+
Processing by AlternatesController#create as HTML
|
89140
|
+
Parameters: {"document"=>{"name"=>""}}
|
89141
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
89142
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
89143
|
+
Completed 200 OK in 18ms (Views: 12.5ms | ActiveRecord: 0.1ms)
|
89144
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
89145
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
89146
|
+
----------------------------------------------------------------
|
89147
|
+
AlternatesController::base actions::destroy: test_0001_redirects
|
89148
|
+
----------------------------------------------------------------
|
89149
|
+
Processing by AlternatesController#destroy as HTML
|
89150
|
+
Parameters: {"id"=>"100"}
|
89151
|
+
[1m[35mDocument Load (0.2ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
89152
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
89153
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "documents" WHERE "documents"."id" = ? [["id", 100]]
|
89154
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
89155
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
89156
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
89157
|
+
Redirected to http://test.host/documents
|
89158
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
|
89159
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
89160
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
89161
|
+
-----------------------------------------------------------------------------------
|
89162
|
+
AlternatesController::base actions::destroy: test_0002_raise exception on not found
|
89163
|
+
-----------------------------------------------------------------------------------
|
89164
|
+
Processing by AlternatesController#destroy as HTML
|
89165
|
+
Parameters: {"id"=>"1"}
|
89166
|
+
[1m[35mDocument Load (0.2ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
89167
|
+
Completed 404 Not Found in 1ms
|
89168
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
89169
|
+
[1m[35m (0.1ms)[0m begin transaction
|
89170
|
+
---------------------------------------------------------------
|
89171
|
+
AlternatesController::base actions::edit: test_0001_render form
|
89172
|
+
---------------------------------------------------------------
|
89173
|
+
Processing by AlternatesController#edit as HTML
|
89174
|
+
Parameters: {"id"=>"100"}
|
89175
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
89176
|
+
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.1ms)
|
89177
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
89178
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
89179
|
+
--------------------------------------------------------------------------------
|
89180
|
+
AlternatesController::base actions::edit: test_0002_raise exception on not found
|
89181
|
+
--------------------------------------------------------------------------------
|
89182
|
+
Processing by AlternatesController#edit as HTML
|
89183
|
+
Parameters: {"id"=>"1"}
|
89184
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
89185
|
+
Completed 404 Not Found in 1ms
|
89186
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
89187
|
+
[1m[35m (0.0ms)[0m begin transaction
|
89188
|
+
----------------------------------------------------------------
|
89189
|
+
AlternatesController::base actions::index: test_0001_render list
|
89190
|
+
----------------------------------------------------------------
|
89191
|
+
Processing by AlternatesController#index as HTML
|
89192
|
+
[1m[36m (0.2ms)[0m [1mSELECT MAX("documents"."updated_at") AS max_id FROM "documents"[0m
|
89193
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents"
|
89194
|
+
Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.2ms)
|
89195
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
89196
|
+
[1m[35m (0.0ms)[0m begin transaction
|
89197
|
+
--------------------------------------------------------------
|
89198
|
+
AlternatesController::base actions::new: test_0001_render form
|
89199
|
+
--------------------------------------------------------------
|
89200
|
+
Processing by AlternatesController#new as HTML
|
89201
|
+
Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
|
89202
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
89203
|
+
[1m[35m (0.0ms)[0m begin transaction
|
89204
|
+
---------------------------------------------------------------
|
89205
|
+
AlternatesController::base actions::show: test_0001_render view
|
89206
|
+
---------------------------------------------------------------
|
89207
|
+
Processing by AlternatesController#show as HTML
|
89208
|
+
Parameters: {"id"=>"100"}
|
89209
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
89210
|
+
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.1ms)
|
89211
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
89212
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
89213
|
+
--------------------------------------------------------------------------------
|
89214
|
+
AlternatesController::base actions::show: test_0002_raise exception on not found
|
89215
|
+
--------------------------------------------------------------------------------
|
89216
|
+
Processing by AlternatesController#show as HTML
|
89217
|
+
Parameters: {"id"=>"1"}
|
89218
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
89219
|
+
Completed 404 Not Found in 1ms
|
89220
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
89221
|
+
[1m[35m (0.0ms)[0m begin transaction
|
89222
|
+
---------------------------------------------------------------
|
89223
|
+
AlternatesController::base actions::update: test_0001_redirects
|
89224
|
+
---------------------------------------------------------------
|
89225
|
+
Processing by AlternatesController#update as HTML
|
89226
|
+
Parameters: {"document"=>{"name"=>"New document"}, "id"=>"100"}
|
89227
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
89228
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
89229
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100[0m [["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:46:13 UTC +00:00]]
|
89230
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
89231
|
+
Redirected to http://test.host/documents
|
89232
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
89233
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
89234
|
+
[1m[35m (0.0ms)[0m begin transaction
|
89235
|
+
--------------------------------------------------------------------
|
89236
|
+
AlternatesController::base actions::update: test_0002_display errors
|
89237
|
+
--------------------------------------------------------------------
|
89238
|
+
Processing by AlternatesController#update as HTML
|
89239
|
+
Parameters: {"document"=>{"name"=>""}, "id"=>"100"}
|
89240
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
89241
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
89242
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
89243
|
+
Completed 200 OK in 4ms (Views: 1.5ms | ActiveRecord: 0.2ms)
|
89244
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
89245
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
89246
|
+
----------------------------------------------------------------------------------
|
89247
|
+
AlternatesController::base actions::update: test_0003_raise exception on not found
|
89248
|
+
----------------------------------------------------------------------------------
|
89249
|
+
Processing by AlternatesController#update as HTML
|
89250
|
+
Parameters: {"id"=>"1"}
|
89251
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "1"]]
|
89252
|
+
Completed 404 Not Found in 1ms
|
89253
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
89254
|
+
[1m[35m (0.0ms)[0m begin transaction
|
89255
|
+
--------------------------------------------------
|
89256
|
+
BlocksController: test_0001_has one response block
|
89257
|
+
--------------------------------------------------
|
89258
|
+
Processing by BlocksController#create as HTML
|
89259
|
+
Parameters: {"document"=>{"name"=>"Sample"}}
|
89260
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
89261
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Aug 2013 17:46:13 UTC +00:00], ["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:46:13 UTC +00:00]]
|
89262
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
89263
|
+
Redirected to http://test.host/
|
89264
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
89265
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
89266
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
89267
|
+
----------------------------------------------------------------
|
89268
|
+
BlocksController: test_0002_has two response blocks with success
|
89269
|
+
----------------------------------------------------------------
|
89270
|
+
Processing by BlocksController#update as HTML
|
89271
|
+
Parameters: {"document"=>{"name"=>"Sample"}, "id"=>"100"}
|
89272
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
89273
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
89274
|
+
[1m[35mSQL (0.2ms)[0m UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:46:13 UTC +00:00]]
|
89275
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
89276
|
+
Redirected to http://test.host/
|
89277
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.4ms)
|
89278
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
89279
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
89280
|
+
----------------------------------------------------------------
|
89281
|
+
BlocksController: test_0003_has two response blocks with failire
|
89282
|
+
----------------------------------------------------------------
|
89283
|
+
Processing by BlocksController#update as HTML
|
89284
|
+
Parameters: {"document"=>{"name"=>""}, "id"=>"100"}
|
89285
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
89286
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
89287
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
89288
|
+
Completed 200 OK in 5ms (Views: 2.4ms | ActiveRecord: 0.2ms)
|
89289
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
89290
|
+
[1m[35m (0.0ms)[0m begin transaction
|
89291
|
+
---------------------------------------------------------------
|
89292
|
+
CustomNoticesController::flash messages: test_0001_has a notice
|
89293
|
+
---------------------------------------------------------------
|
89294
|
+
Processing by CustomNoticesController#create as HTML
|
89295
|
+
Parameters: {"document"=>{"name"=>"Sample"}}
|
89296
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
89297
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 06 Aug 2013 17:46:13 UTC +00:00], ["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:46:13 UTC +00:00]]
|
89298
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
89299
|
+
Redirected to http://test.host/
|
89300
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.5ms)
|
89301
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
89302
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
89303
|
+
---------------------------------------------------------------
|
89304
|
+
CustomNoticesController::flash messages: test_0002_has an alert
|
89305
|
+
---------------------------------------------------------------
|
89306
|
+
Processing by CustomNoticesController#update as HTML
|
89307
|
+
Parameters: {"document"=>{"name"=>"Sample"}, "id"=>"100"}
|
89308
|
+
[1m[35mDocument Load (0.2ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
89309
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
89310
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "Sample"], ["updated_at", Tue, 06 Aug 2013 17:46:13 UTC +00:00]]
|
89311
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
89312
|
+
Redirected to http://test.host/
|
89313
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
89314
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
89315
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
89316
|
+
--------------------------------------------------------------
|
89317
|
+
DocumentsController::base actions::create: test_0001_redirects
|
89318
|
+
--------------------------------------------------------------
|
89319
|
+
Processing by DocumentsController#create as HTML
|
89320
|
+
Parameters: {"document"=>{"name"=>"New document"}}
|
89321
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
89322
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "documents" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 06 Aug 2013 17:46:13 UTC +00:00], ["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:46:13 UTC +00:00]]
|
89323
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
89324
|
+
Redirected to http://test.host/documents
|
89325
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
89326
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
89327
|
+
[1m[35m (0.0ms)[0m begin transaction
|
89328
|
+
-------------------------------------------------------------------
|
89329
|
+
DocumentsController::base actions::create: test_0002_display errors
|
89330
|
+
-------------------------------------------------------------------
|
89331
|
+
Processing by DocumentsController#create as HTML
|
89332
|
+
Parameters: {"document"=>{"name"=>""}}
|
89333
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
89334
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
89335
|
+
Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.1ms)
|
89336
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
89337
|
+
[1m[35m (0.0ms)[0m begin transaction
|
89338
|
+
---------------------------------------------------------------
|
89339
|
+
DocumentsController::base actions::destroy: test_0001_redirects
|
89340
|
+
---------------------------------------------------------------
|
89341
|
+
Processing by DocumentsController#destroy as HTML
|
89342
|
+
Parameters: {"id"=>"100"}
|
89343
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "100"]]
|
89344
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
89345
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "documents" WHERE "documents"."id" = ?[0m [["id", 100]]
|
89346
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
89347
|
+
Redirected to http://test.host/documents
|
89348
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
89349
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
89350
|
+
[1m[35m (0.0ms)[0m begin transaction
|
89351
|
+
----------------------------------------------------------------------------------
|
89352
|
+
DocumentsController::base actions::destroy: test_0002_raise exception on not found
|
89353
|
+
----------------------------------------------------------------------------------
|
89354
|
+
Processing by DocumentsController#destroy as HTML
|
89355
|
+
Parameters: {"id"=>"1"}
|
89356
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
89357
|
+
Completed 404 Not Found in 1ms
|
89358
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
89359
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
89360
|
+
--------------------------------------------------------------
|
89361
|
+
DocumentsController::base actions::edit: test_0001_render form
|
89362
|
+
--------------------------------------------------------------
|
89363
|
+
Processing by DocumentsController#edit as HTML
|
89364
|
+
Parameters: {"id"=>"100"}
|
89365
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
89366
|
+
Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.1ms)
|
89367
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
89368
|
+
[1m[35m (0.0ms)[0m begin transaction
|
89369
|
+
-------------------------------------------------------------------------------
|
89370
|
+
DocumentsController::base actions::edit: test_0002_raise exception on not found
|
89371
|
+
-------------------------------------------------------------------------------
|
89372
|
+
Processing by DocumentsController#edit as HTML
|
89373
|
+
Parameters: {"id"=>"1"}
|
89374
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
89375
|
+
Completed 404 Not Found in 1ms
|
89376
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
89377
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
89378
|
+
---------------------------------------------------------------
|
89379
|
+
DocumentsController::base actions::index: test_0001_render list
|
89380
|
+
---------------------------------------------------------------
|
89381
|
+
Processing by DocumentsController#index as HTML
|
89382
|
+
[1m[35m (0.1ms)[0m SELECT MAX("documents"."updated_at") AS max_id FROM "documents"
|
89383
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents"[0m
|
89384
|
+
Completed 200 OK in 3ms (Views: 1.2ms | ActiveRecord: 0.2ms)
|
89385
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
89386
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
89387
|
+
-------------------------------------------------------------
|
89388
|
+
DocumentsController::base actions::new: test_0001_render form
|
89389
|
+
-------------------------------------------------------------
|
89390
|
+
Processing by DocumentsController#new as HTML
|
89391
|
+
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
|
89392
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
89393
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
89394
|
+
--------------------------------------------------------------
|
89395
|
+
DocumentsController::base actions::show: test_0001_render view
|
89396
|
+
--------------------------------------------------------------
|
89397
|
+
Processing by DocumentsController#show as HTML
|
89398
|
+
Parameters: {"id"=>"100"}
|
89399
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
89400
|
+
Completed 200 OK in 2ms (Views: 1.1ms | ActiveRecord: 0.1ms)
|
89401
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
89402
|
+
[1m[35m (0.1ms)[0m begin transaction
|
89403
|
+
-------------------------------------------------------------------------------
|
89404
|
+
DocumentsController::base actions::show: test_0002_raise exception on not found
|
89405
|
+
-------------------------------------------------------------------------------
|
89406
|
+
Processing by DocumentsController#show as HTML
|
89407
|
+
Parameters: {"id"=>"1"}
|
89408
|
+
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|
89409
|
+
Completed 404 Not Found in 1ms
|
89410
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
89411
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
89412
|
+
--------------------------------------------------------------
|
89413
|
+
DocumentsController::base actions::update: test_0001_redirects
|
89414
|
+
--------------------------------------------------------------
|
89415
|
+
Processing by DocumentsController#update as HTML
|
89416
|
+
Parameters: {"document"=>{"name"=>"New document"}, "id"=>"100"}
|
89417
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
89418
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
89419
|
+
[1m[35mSQL (0.3ms)[0m UPDATE "documents" SET "name" = ?, "updated_at" = ? WHERE "documents"."id" = 100 [["name", "New document"], ["updated_at", Tue, 06 Aug 2013 17:46:13 UTC +00:00]]
|
89420
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
89421
|
+
Redirected to http://test.host/documents
|
89422
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
|
89423
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
89424
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
89425
|
+
-------------------------------------------------------------------
|
89426
|
+
DocumentsController::base actions::update: test_0002_display errors
|
89427
|
+
-------------------------------------------------------------------
|
89428
|
+
Processing by DocumentsController#update as HTML
|
89429
|
+
Parameters: {"document"=>{"name"=>""}, "id"=>"100"}
|
89430
|
+
[1m[35mDocument Load (0.1ms)[0m SELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1 [["id", "100"]]
|
89431
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
89432
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
89433
|
+
Completed 200 OK in 5ms (Views: 1.5ms | ActiveRecord: 0.2ms)
|
89434
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
89435
|
+
[1m[35m (0.0ms)[0m begin transaction
|
89436
|
+
---------------------------------------------------------------------------------
|
89437
|
+
DocumentsController::base actions::update: test_0003_raise exception on not found
|
89438
|
+
---------------------------------------------------------------------------------
|
87483
89439
|
Processing by DocumentsController#update as HTML
|
87484
89440
|
Parameters: {"id"=>"1"}
|
87485
89441
|
[1m[36mDocument Load (0.1ms)[0m [1mSELECT "documents".* FROM "documents" WHERE "documents"."id" = ? LIMIT 1[0m [["id", "1"]]
|